Commit Graph

46 Commits

Author SHA1 Message Date
Daniel Girtler 65a5a335aa
Enhance view (#1210)
* Add preview for menu entries

* Fix mypy

* Update

* Update

* Fix mypy

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-05-18 13:59:49 +02:00
Anton Hvornum 621adc9580
Adding pacman-key --init to ISO runner 2022-04-26 22:24:28 +02:00
Anton Hvornum 3b5d7cdb16
--noconfirm to pacman upgrade 2022-04-26 22:19:03 +02:00
Anton Hvornum a9f2e0db2e
pacman-key --ref.. -> pacman -S archlinux-keyring 2022-04-26 22:16:35 +02:00
Anton Hvornum 166cf4a590
archlinux-keyring -> pacman-key 2022-04-26 22:06:22 +02:00
Anton Hvornum 4b00564994
Adding in a refresh of keyring before building ISO 2022-04-26 22:03:45 +02:00
Daniel 477b5b120e
Support for multiple network interfaces (#1052)
* Support for multiple network interfaces

* Fix mypy

* Fix flake8

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-04-22 13:24:12 +02:00
Anton Hvornum 7f0ccbe87e
Reverted mypy runner changes 2022-03-29 10:35:18 +02:00
Daniel c92c448f29
Fix some mypy things (#1023)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-03-28 14:14:45 +02:00
Dylan M. Taylor 2c897cdcc6
Leverage same build system used by PyPi in the ArchInstall ISO (#973)
* Leverage same build system used by PyPi in the ArchInstall ISO

* 3.6.0 is not in the archinstall repos yet. Use 3.5.1 so ISOs don't need networking to build.
2022-02-12 23:43:22 +01:00
Dylan M. Taylor 532f0fdc3a
Various Build System Improvements (#971)
* Convert workflow from flit to twine for publishing

* This could be split into two different tasks

* Change build-system toml block to setuptools

* Switch to standardized project block

* Some corrections

* Add build module

* Remove symlinks

* Move example and profiles folders to archinstall

* Create symlinks outside of the archinstall folder

* Add new workflow to build archinstall but not publish for regular commits

* Add build artifacts

* Rename, so it's just archinstall.zip

* Replace symlinks with copies

* Also replace symlinks with copies in python-build.yml

* Revert "Create symlinks outside of the archinstall folder"

This reverts commit d76cf18eaa.

* Revert "Move example and profiles folders to archinstall"

This reverts commit c41c1c9102.

* Revert "Remove symlinks"

This reverts commit fd959e3230.

* Switch up how I'm replacing symlinks with copies

* Explore using flit as the build backend still

* Drop tools.flit.metadata block

* tool.flit.scripts is incompatible with project block

* Remove symlink copy workaround

* This seems to cause an error, until I figure it out, license is specified in classifiers.

* Make authors a list of dicts

* URL correction

* Use more of the new style metadata for flit

* This is redundant; build downloads these in a venv

* project.scripts replaces tool.flit.scripts

* whitespace

* Try explicitly adding symlinks as includes

* Minor whitespacce tweaks

* Add newer build packages to ISO

* Update comment on python-build.yml
2022-02-12 22:29:12 +01:00
Anton Hvornum e32cf71ae7
Added type annotations to all functions (#845)
* Added type annotations for 1/5 of the files.

There's bound to be some issues with type miss-match, will sort that out later.

* Added type hints for 4/5 of the code

* Added type hints for 4.7/5 of the code

* Added type hints for 5/5 of the code base

* Split the linters into individual files

This should help with more clearly show which runner is breaking since they don't share a single common name any longer. Also moved mypy settings into pyproject.toml

* Fixed some of the last flake8 issues

* Missing parameter

* Fixed invalid lookahead types

* __future__ had to be at the top

* Fixed last flake8 issues
2022-01-06 22:01:15 +01:00
Anton Hvornum 5d4673cfff
Only create pypi releases on publishing a release
Since we can create them, but as draft or locally through tagging. It's best to safe bet this to only published releases. Worst case manual submission has to be done.
2021-11-25 12:08:43 +00:00
Christian Clauss 52dbccea5e Tighten up flake8 tests used by lint_python GitHub Action 2021-10-04 11:08:21 +02:00
Dylan M. Taylor 35578a0d3a
Proposal: use iso-build for releases 2021-05-22 17:02:12 -04:00
Dylan Taylor b2d20647fc Some additional formatting 2021-05-15 12:46:23 -04:00
Dylan M. Taylor b242455121
Prevent mypy from producing errors 2021-05-15 10:46:14 -04:00
Dylan M. Taylor 2d5564a7c2
Further split out pytest; TODO: add tests. 2021-05-15 09:57:10 -04:00
Dylan M. Taylor be94c7d5fe
Split into separate jobs 2021-05-15 09:54:08 -04:00
Dylan M. Taylor 843cd6cf0f
Update lint-python.yaml 2021-05-15 09:45:50 -04:00
Dylan M. Taylor ad444caf9d
Bring in some of the good CI changes from #411 2021-05-15 09:27:40 -04:00
advaithm cee1b732b9
an example mypy workflow 2021-05-12 16:11:37 +05:30
Anton Hvornum 9fd87a4b53
Update python-publish.yml 2021-04-28 21:30:48 +02:00
Dylan M. Taylor 7beccba395
Avoid some word wrapping on smaller consoles like VirtualBox. 2021-04-28 08:59:01 -04:00
Dylan M. Taylor 939fae0b1a Include the commit SHA in the ISO
Update iso-build.yaml with wording change, cat out .zprofile for debugging, and make it so workflow edits trigger builds.
2021-04-27 22:21:05 -04:00
Anton Hvornum ae1c4ea7c2
Merge pull request #337 from dylanmtaylor/patch-4
Run CI on pushes to master/main
2021-04-27 12:12:36 +00:00
Dylan M. Taylor d401820381
Run CI on pushes to master/main 2021-04-22 14:35:05 -04:00
Anton Hvornum 5fba277dda Merging in master to feature branch. 2021-04-17 09:52:09 +02:00
Dylan M. Taylor 88071ef9c0
.toml files could also possibly affect behavior. 2021-04-15 18:47:34 -04:00
Dylan M. Taylor 769a5b5f74
These could affect whether the code builds/runs correctly
They should not be ignored.
2021-04-15 18:46:44 -04:00
Anton Hvornum 3279de08ad
Revert `README` addition, it's catched by **.md 2021-04-15 21:07:06 +02:00
Anton Hvornum 0128ae6647
Added README to ignore 2021-04-15 20:55:36 +02:00
Владислав 6264099428
Add ignore rules for iso-build.yaml
These rules ignore all unrelated files and folders that are not needed to build the ISO.
2021-04-15 21:09:02 +03:00
advaithm 413565dbd0 moved to flit build system 2021-04-12 19:39:23 +05:30
Dylan M. Taylor 584a2c465f Pull in iso-build.yaml from master to generate a test ISO 2021-04-12 07:44:13 -04:00
Dylan M. Taylor 2321a7afce
Update iso-build.yaml 2021-04-11 14:53:06 -04:00
Dylan M. Taylor 0762a7173c Automatically change directory and replace archinstall on boot 2021-04-10 17:59:59 -04:00
Dylan M. Taylor 92b8143743 Build Arch Live ISO with Each Commit
The bind mount is probably not necessary
2021-04-10 17:32:43 -04:00
Anton Hvornum ef021698b6
Updated CODEOWNERS
Mainly to avoid pinging grazzolini on every PR for code review.
But left him on the PKGBUILDs as he has way better knowledge about those things.
2021-04-03 19:38:44 +02:00
Anton Hvornum 428bf16868 Moving the CODEOWNERS file again 2021-04-02 22:01:07 +02:00
Anton Hvornum b46e0ca7bc
Moved the CODEOWNERS file. 2021-04-02 21:25:22 +02:00
Anton Hvornum fba2def861
Update CODEOWNERS 2021-04-02 21:21:12 +02:00
Anton Hvornum 105922fd2a
Update CODEOWNERS 2021-04-02 21:20:54 +02:00
Anton Hvornum e2c40b5208
Update CODEOWNERS 2021-04-02 21:20:40 +02:00
Anton Hvornum 6e0efa6973
Create CODEOWNERS 2021-04-02 21:19:40 +02:00
Anton Hvornum 233886f9c5
Created a GitHub action to publish to pypi 2021-03-22 13:58:35 +01:00