Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2022-08-01Update the PR templateAnton Hvornum
Since most of the guidelines are in the contribution guidelines anyway, we'll keep the PR template to a minimum.
2022-08-01Update pull_request_template.md:11 ~20 -> twenty (#1398)长柳
I don't think this is a good way of writting like 'If the PR is larger than ~20 lines', it looks weird
2022-05-29Fix typos (#1265)Kian-Meng Ang
2022-05-26Rework user management (#1220)Daniel Girtler
* Rework users * Update user installation * Fix config serialization * Update * Update schemas and documentation * Update * Fix flake8 * Make users mypy compatible * Fix minor copy Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-02-28Rework network config (#1001)Daniel
* Update network configuration * Rework network configuration * Update documentation * Fix flake8 * Update Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com> Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2022-02-08Change usage `lsblk` to `blkid` where possible. And general improvements to ↵Anton Hvornum
disk handling. (#949) * Renamed all_disks() to all_blockdevices() as it's technically a bit more correct. As it would return partitions as well. And it now distinguishes between BlockDevice() and Partition() when returning values. Also lsblk has been replaced with blkid and glob.glob() on /sys/class/block/ * Added handling of loop devices * Added device information enrichment * Removed old code * Updated the usage of blockdevice.info['type'] to 'DEVTYPE' as per returned by blkid instead of lsblk * Created a MapperDev() and DMCryptDev() 'disk' classes. This should help differentiate between BlockDevice(), Partition() and crypt-specific devices. Due to some new helper functions (mentioned later) BlockDevice().device_or_backfile has been simplified thanks to the information being pre-existing instead of having to call losetup. BlockDevice().mountpoint has been added as a dummy function. archinstall.enrich_blockdevice_information() has been added to enrich information extracted from blkid. archinstall.uevent() has been created to parse blkdid data when in -o export format, also eats up /sys/class/x/y/uevent data which is of the same format. all_blockdevices() now returns mapper devices found under /dev/mapper/ and properly returns the different types, not just BlockDevice() for everything. archinstall.get_parent_of_partition() has been added, which can translate /dev/sda1 to /dev/sda via strings by using /sys/class/block/ - note here tho that it has to be a blockdevice. Other parents won't return properly. archinstall.find_mountpoint() was created to be able to find mountpoints for a device, rather than the other way around which get_mount_info() handles. find_mountpoint() will convert /dev/sda1 -> /boot for instance, whereas get_mount_info('/boot') will convert /boot -> /dev/sda1. archinstall.get_partitions_in_use() will now properly traverse the entire structure, not just one level deep. This called for the creation of get_all_targets() which will take a dictionary structure and look for 'target': '/path' and return all '/path' values, recursively without being trapped in get_partitions_in_use() which has recursive targets. get_partitions_in_use() now returns a dictionary instead of a list, as it also returns the mountpoint and associated device. It will also prioritize MapperDev over DMCryptDev (as MapperDev is a child of DMCryptDev and can be resolved, other way around is 'trickier'). * Reverted Installer().partitions to return only the partitions. It's a slight speed defecit by not returning the mountpoints directly as {mntpoint: partition}, because the partition.mountpoint is a bit slow. But it avoids breaking legacy code :) * Fixed a few imports, and added MapperDev.filesystem * Fixed so that Installer().detect_encryption() uses the new separated logic of MapperDev/DMCryptDev/Partition * Fixing a translation issue on hostname * Added DMCryptDev.filesystem * Added back archinstall.all_disks() for legacy reasons. * Added a deprecation warning to archinstall.all_disks() * Added a enrichment check for dm-crypt specific devices, which in turn sets DMCRYPT_NAME on the device information, making it easier to detect and target DMCryptDev when needed. This should avoid issues with loopdevices being detected as DMCryptDev. Also some minor tweaks to variable names on unencrypted setups * Made debug output hidden without --verbose. Also added get_subvolume_info() which takes a path and returns any 'btrfs subvol show' information on the path * Partition().subvolumes has been added. Which generates an iterator over potential subvolumes based on mountpoint. Partition().mount_information is now a list of mount-destinations, as one partition should be allowed to be mounted to several places (more commonly used in btrfs subvolumes). BtrfsSubvolume() has been added as a 'device type', which should make it more easy to recognize a BtrfsSubvolume object right out of the gate. Only found from Partition().subvolumes currently. * Parameter fix for --verbose in log() * Made sure loopdev devices have a PATH key as well, to make dealing with them as blockdevice as seamless as possible. * Added backup information grabbing on uninitated devices * Tweaked backup option if losetup cannot find the blockdev * looks like losetup doesn't exit with a bad code even when it should. Raising ourselves when information is empty. * Fixed structure returned from get_blockdevice_uevent() * Made sure that fallback to blkid and loopdev info returns a PTTYPE (Partition Table Type) that is None, since we can't locate it yet (empty drive). But it's not False either, which is what logic after is looking for * Deprecated split_bind_name() and added more debugging * get_partitions_in_use() now only iterates over Partition() objects. And properly checks all mountpoints, not only the first. * Flipped SysCallError to show the last 500 bytes if data rather than the first, to catch the actual errors. * Removed anonymous parameters to all_blockdevices() * Added .mount_information to MapperDev * Added typing annotations * Partition().mountpoint is now a @property that will live-report the current mountpoint. * Removed the need for setting Partition().mountpoint = X when calling .mount() and .unmount(), as it's live-reported instead. * Added .subvolumes to MapperDev() * Added debug information * Muting F841 in helpers.py * Tweaked debug information in get_mount_info() * Minimized log output by moving Partition().mountpoint to DEBUG, as partitions are allowed to not be mounted * Simplified Installer().add_bootloader() to act as a router to the new split function, one for each bootloader type. This since flake8 complained about complexity and I agree that it became to wild.
2022-02-01Issue923 (#927)Werner Llácer
* Correct definition of btrfs standard layout * Solving issue 923. Standarize keyword "wipe" to signal the need of formatting a FS * flake8 complains
2022-01-30Synchronize `archlinux-keyring` when running guided.py (#917)Timothy Pidashev
* Update guided.py * Update guided.py * Update guided.py * Fix typo * Format string properly; elaborate log msg * Make change consistent to mirror-check * Update documentation
2022-01-14Added instructions on how to post logs publicly.Anton Hvornum
2022-01-14Improved mentions of logs and configuration files. This fixes #839Anton Hvornum
2022-01-14Version decrease in docs for masterAnton Hvornum
2022-01-14Merge branch 'master' of github.com:archlinux/archinstallAnton Hvornum
2022-01-14Version bump in docsAnton Hvornum
2022-01-05Improve documentation v2.3.1 (#843)Anton Hvornum
* Updated documentation Mostly I've moved things around, cleaned up some dead paths and added more clarity. * Cleaned up !superusers section * Mentioning of accessibility
2021-12-18Update documentation (#803)remLse
* Add guide for building docs locally * Update documentation - Fix typos - Fix some formatting - Fix broken links - Improve readability of json profile specification
2021-11-02Update discord.rstBrainfrazzle
Just edits for readability and grammar.
2021-09-06Merged in master.Anton Hvornum
2021-07-16Replace for loops with comprehensionsmonosans
2021-06-10Merging in latest changes from master.Anton Hvornum
2021-06-06version bump v2.3.0.dev0m1ten
2021-06-04Merge branch 'master' of github.com:archlinux/archinstall into ↵Anton Hvornum
torxed-rework-partitioning
2021-06-04Merged in changes from masterAnton Hvornum
2021-06-01Added a tribute logoAnton Hvornum
Used in discord and other social gatherings.
2021-05-26grammar fixes and json updateYash Tripathi
2021-05-26Added new keys in tableYash Tripathi
2021-05-25Removed EFI warning from doc indexAnton Hvornum
https://archinstall.readthedocs.io/en/latest/
2021-05-24Merged in latest changes from masterAnton Hvornum
2021-05-22added description for installing from configYash Tripathi
2021-05-21Merging in latest changes from master and resolved conflicts.Anton Hvornum
2021-05-18Proofreading: Fix misc. spelling and grammar issuesDylan Taylor
2021-05-15Perform refactoring to PEP 8 naming conventionsDylan Taylor
2021-05-15Remove some redundant parenthesisDylan Taylor
2021-05-15More formatting fixes to satisfy PEP 8Dylan Taylor
2021-05-15Whitespace changesDylan Taylor
2021-05-15More formatting fixesDylan Taylor
2021-05-15Try to fix issues with docs/conf.pyDylan Taylor
2021-05-02Moved around some blocksAnton Hvornum
2021-05-02Rename Untitled Diagram.svg to BlockDeviceSelection.svgAnton Hvornum
2021-05-02Adding flowcharts for disk selectionAnton Hvornum
2021-04-27Updated PR guidelines.Anton Hvornum
2021-04-12Merge branch 'master' into torxed-v2.2.0Anton Hvornum
2021-04-11Merge pull request #181 from zosman1/enhancement-systemd-service-wrapperAnton Hvornum
Allow multiple services to be enabled at once
2021-04-09update docsZach Osman
2021-04-08Updating documentation.Anton Hvornum
2021-04-08Update pull_request_template.mdAnton Hvornum
2021-04-08Update pull_request_template.mdAnton Hvornum
2021-04-08Update pull_request_template.mdAnton Hvornum
2021-04-08Update pull_request_template.mdAnton Hvornum
2021-04-08Merging in master into feature branch.Anton Hvornum
2021-04-07Update pull_request_template.mdAnton Hvornum