Anton Hvornum
ff1632ebbd
Adding a comment. Also testing webhooks
2020-08-21 16:23:15 +00:00
Anton Hvornum
7a09115a70
Corrected API endpoint for automated tests.
2020-08-21 11:44:34 +00:00
Anton Hvornum
2b71ebd699
Added some debug output to the automated test profile.
2020-08-21 11:34:08 +00:00
Anton Hvornum
97696a8d02
Adjusted the automated test build to send the correct status message to the backend API.
2020-08-21 11:08:33 +00:00
Anton Hvornum
dc0b6ac9c3
Added automated test status.
...
The build status contains the last commit which was passed through the automated test procedure. It's the [examples/unattended.py](examples/unattended.py) running the profile [profiles/52-54-00-12-34-56.py](profiles/52-54-00-12-34-56.py) which sends a build status after a successful build. Failed build does not register yet.
2020-08-21 09:06:51 +00:00
Anton Hvornum
71ddbd9e02
Added API for automatic testing status.
2020-08-21 10:01:20 +00:00
Anton Hvornum
63b92f6ea7
Added try/catch for HTTPS POST.
2020-08-21 08:24:10 +00:00
Anton Hvornum
96e8cc4d5b
Added a timeout on the HTTPS POST status after a successful install.
2020-08-20 22:16:53 +00:00
Anton Hvornum
d449bb4b1f
Added the HTTPS POST for a successful build to the unattended test build.
2020-08-20 19:56:58 +00:00
Anton Hvornum
f6f5875892
Added a unattended installer. Fixed list_profiles() to not include .py ending in the profile name, it's already in the ['path'] defintion. Renamed desktop.py to awesome.py as it more accurately describes what's being installed. desktop should be reserved to a default desktop environment that's more new-user-friendly.
2020-08-20 19:47:39 +00:00
Anton Hvornum
056b800c8e
Starting to add networking helpers in archinstall. First up is archinstall.getHwAddr(ifname) which returns the mac of a interface name. second is archinstall.list_interfaces() which lists all the local MAC addresses and which interface it is bound to. Also starting to add the unattended installer back step by step. Currently with one MAC profile. The MAC profile filtering/detection has also been added in archinstall.list_profiles() - it will filter out all MAC address-specific profiles when called, unless a MAC matches a profile or filter_irrelevant_macs=False is given.
2020-08-20 17:08:13 +00:00
Anton Hvornum
aaad480ab8
Version bump in the build scripts.
2020-08-20 12:32:27 +00:00
Anton Hvornum
73e415160c
Version bump
2020-08-20 12:26:27 +00:00
Anton Hvornum
a2e676261a
Added missing function reboot(). Also tweaked the build scripts so that they fetch a common version from the file VERSION. And some spelling tweaks for the log output.
2020-08-20 12:25:21 +00:00
Anton Hvornum
ba9d5c746f
Wrong $pkgname, adjusted.
2020-08-19 22:05:21 +00:00
Anton Hvornum
5af6e262e9
Added a PKGBUILD for python-archinstall. Which is just a Arch Linux native way of installing the pypi/pip version of archinstall.
2020-08-19 21:58:37 +00:00
Anton Hvornum
1742139e35
Spelling errors and clarifications.
2020-08-18 22:21:43 +00:00
Anton Hvornum
af875e3902
Fixed merge.
2020-08-18 21:56:22 +00:00
Anton Hvornum
76c386951a
Added build support for PKGBUILD. Also slimmed down make.sh to only compile the binary and nothing more. That way it's easier to ship the build to https://archlinux.life/bin/ . Updated README to reflext the archlinux.life domain instead of hvornum.se since projects regarding archlinux will reside there or elsewhere in the future.
2020-08-18 21:54:34 +00:00
Anton Hvornum
1d8591c7fe
Added make.sh into PKGBUILD
2020-08-09 09:24:45 +02:00
Anton Hvornum
27e20ae433
Removed support entirely for .json. Cleaning up the Profile() class **a lot**. Also tweaked some variable names to better suit the actual usage, which was a path definition not a name definition anymore
2020-08-05 10:29:34 +02:00
Anton Hvornum
11f36102db
Fixed description support
2020-08-04 14:58:10 +02:00
Anton Hvornum
b29c35de23
Fixed description support
2020-08-04 14:57:33 +02:00
Anton Hvornum
2af2f90280
Added a debug
2020-08-04 14:56:50 +02:00
Anton Hvornum
b2a8fd9857
Adding description handling in profiles.
2020-08-04 14:50:36 +02:00
Anton Hvornum
0b8a3d9540
Removed legacy .json profiles. Not in favor of .py
2020-08-04 14:45:25 +02:00
Anton Hvornum
44e920297b
elif mixup
2020-08-04 14:41:11 +02:00
Anton Hvornum
9d7962f39c
Added a list_profiles() function, that lists all current local profiles. Also removed support for .json as it's redundant for the future.
2020-08-04 14:30:15 +02:00
Anton Hvornum
2dea2426b2
Version bump rc4
2020-08-04 11:36:07 +02:00
Anton Hvornum
928654ae35
Added two new functions. Fixed set_locale. enable_service() was added as well as activate_ntp().
2020-08-04 11:34:00 +02:00
Anton Hvornum
551bb438a3
Fixed a glitch in the make.sh script.
2020-07-30 23:27:33 +00:00
Anton Hvornum
850d0d2ec9
Version bump.
2020-07-30 23:21:17 +00:00
Anton Hvornum
196d4a178e
Added add_custom_mirrors(). The function appends custom mirrors to /etc/pacman.conf
2020-07-30 23:15:51 +00:00
Anton Hvornum
5b0f4f99d6
Version bump to: v2.0.4rc2
2020-07-22 14:22:42 +00:00
Anton Hvornum
6c5c24ecef
Added a function to the installer, also added a function to make it easier to enable it in a installation, after which can be called.
2020-07-22 14:19:41 +00:00
Anton Hvornum
0cd088572d
New feature: application profiles now support .py as well. Also fixed a sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile)
2020-07-22 01:03:14 +00:00
Anton Hvornum
c884a25237
Added a set_timezone() and fixed set_locale() in the Installer() class. Also added a mirrors.py helper to rudimentary set mirror data on the installer host
2020-07-21 19:03:24 +00:00
Anton Hvornum
06f8c46b3d
Added some more documentation. Also added a __init__.py in the git repo so that cloning enables importing as well. This should enable both git clone to work as well as pypi.
2020-07-21 11:01:48 +00:00
Anton Hvornum
e438e1bbde
Merge branch 'master' of github.com:Torxed/archinstall
2020-07-21 08:18:06 +02:00
Anton Hvornum
2b14aa68d0
Created a __dump__ function in BlockDevice. Can be used to safely dump the class into a JSON object. Building a json_encoder which checks if the object hasattr(obj, '__dump__') before calling would be ideal
2020-07-21 08:17:31 +02:00
Anton Hvornum
a7515e4a98
Update README.md
2020-07-13 13:47:24 +02:00
Anton Hvornum
1213e260df
Added binary option.
2020-07-10 12:00:40 +00:00
Anton Hvornum
45268df2e7
Added the arch to the build
2020-07-10 11:06:41 +00:00
Anton Hvornum
6ac2858816
Fixed the build to include the examples in the right location.
2020-07-10 11:01:49 +00:00
Anton Hvornum
2e0295d501
Added a build script for my own sanity
2020-07-10 08:46:00 +00:00
Anton Hvornum
cc0f1210ad
Added a PKGBUILD which requires a pre-built nuitka3 version. More on this later.
2020-07-10 08:41:08 +00:00
Anton Hvornum
84410113c2
Spelling error
2020-07-10 08:40:23 +00:00
Anton Hvornum
3c0f4cebce
Pre-built ISO's are back. Updating readme to reflect this change.
2020-07-09 21:18:38 +02:00
Anton Hvornum
047aa0d15a
Release party: 2.0.3 is tested.
2020-07-08 22:51:43 +00:00
Anton Hvornum
13e9953630
removed some non-essnetial packages. re-structured the guided installer to ask for stuff first, then fire away. Tested encrypted/non-encrypted and both works.
2020-07-08 22:51:21 +00:00