Commit Graph

374 Commits

Author SHA1 Message Date
Troy Dawson
98066c4712 Bump release for June 2024 mass rebuild 2024-06-24 09:16:27 -07:00
Brian C. Lane
21739b90b3 - timezone: Remove the --isUtc, --nontp, and --ntpserver arguments (bcl)
Related: RHEL-34009
- packages: Remove the old camel case arguments on RHEL10 (bcl)
  Resolves: RHEL-34009
- nvdimm: Remove support for the nvdimm command on RHEL10 (bcl)
  Related: RHEL-34009
2024-06-18 15:19:56 -07:00
Brian C. Lane
27d7319a6d Drop the MIT license
This was added because we were embedding an MIT licensed copy of OrderedSet
which was switched in commit 3c592c0a1b7ff78f317e4c899eadfc51b22c9b61 to
use the python3-ordered-set module. Use of that was dropped in commit
ae1d16c0fa125f1252413fb47da75ff2eab70a36

Related: RHEL-34009
2024-05-14 08:42:29 -07:00
Brian C. Lane
5c18b1447b - btrfs: Remove support for the btrfs command on RHEL10 (bcl)
Resolves: RHEL-34009
- Deprecate modularity on RHEL 10 (marusak.matej)
  Resolves: RHEL-34829
2024-05-13 12:13:26 -07:00
Brian C. Lane
1924ef9fbd - Switch DEFAULT_VERSION to RHEL10 (bcl)
Resolves: RHEL-30566
- Add a DEFAULT_VERSION variable to version.py (bcl)
- Deprecate network team options on RHEL 10 (rvykydal)
2024-04-25 15:18:04 -07:00
Brian C. Lane
69087be296 - New release: 3.52.1 (bcl)
Resolves: RHEL-30566
- docs: Generate RHEL10 docs (bcl)
- Makefile: Use .z for scratch builds too (bcl)
- rhel10: autopart on RHEL does not support --type=btrfs (bcl)
- rhel10: Add test for btrfs command deprecation (bcl)
- rhel10: Add missing rhsm and syspurpose commands (bcl)
- Update RHEL 9 handler (bcl)
- Update RHEL 10 handler classes (bcl)
- tox.ini: Only test with Python 3.12 to speed things up (bcl)
- Add RHEL 10 handler (RHEL-30566) (bcl)
- Use .z version for new builds, start with 3.52.0 (bcl)
- workflow: Use python 3.12.2 for tests (bcl)
- workflow: Bump checkout and setup-python actions to new versions (bcl)
2024-04-03 14:21:51 -07:00
Brian C. Lane
68ca65fe45 - Deprecate %packages --instLangs and --excludeWeakdeps kickstart options (vponcova)
- Deprecate timezone --isUtc, --ntpservers and --nontp kickstart options (vponcova)
- Fix the assert_removed check in the unit tests (vponcova)
- Remove the repo --ignoregroups kickstart option in Fedora 40 (vponcova)
- Remove the logging --level kickstart option in Fedora 40 (vponcova)
- Remove the method kickstart command in Fedora 40 (vponcova)
- Remove the autostep kickstart command in Fedora 40 (vponcova)
- requirements: Add setuptools (bcl)
2024-02-01 09:26:44 -08:00
Fedora Release Engineering
3dfa1b13eb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 00:34:51 +00:00
Fedora Release Engineering
367cd901d5 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:44:22 +00:00
Brian C. Lane
22ab22f54f - Deprecate the nvdimm kickstart command (vponcova) 2023-11-28 15:57:06 -08:00
Brian C. Lane
bde1004998 - Add Fedora 40 support (bcl)
- remove control characters from license (cmdr)
- scripts: Fix wording in documentation (bcl)
- workflow: Fix test for python 3.12.0 version (bcl)
2023-11-10 08:49:20 -08:00
Brian C. Lane
af13cd4466 - tox: Only run unit tests for python 3.6 (bcl)
- workflow: Update to py3.12.0 (bcl)
- pykickstart: Set timeout to 120s on requests.get (bcl)
- translation-canary: Update the subtree with current master (bcl)
- Squashed 'translation-canary/' changes from 840c2d64..5bb81253 (bcl)
- tests: Add python 3.12 support (bcl)
- tests: Update unicode test to remove deprecated resetlocale (bcl)
- rtd: formats is separate, not part of sphinx (bcl)
- rtd: Add the .readthedocs.yaml config file (bcl)
- spec: Update spec with changes from Fedora (bcl)
- Makefile: Update pypi upload command (bcl)
2023-10-25 10:05:47 -07:00
Fedora Release Engineering
9bd99486ec Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 06:43:32 +00:00
Python Maint
e1dc1730d1 Rebuilt for Python 3.12 2023-06-14 06:14:53 +02:00
Brian C. Lane
7f5f40e050 - Makefile: Add a test-no-coverage target (bcl)
- realm: switch from pipes.quote() to shlex.quote() (ptoscano)
- workflow: Update actions to newest versions (bcl)
- Fix issues how to generate encrypted passwords (woiling)
2023-06-08 11:06:11 -07:00
Brian C. Lane
f4b18c8061 - network: Move new options to Fedora 39 (bcl)
Related: rhbz#1656662
- displaymode: Update description to describe behavior (bcl)
2023-03-17 09:24:49 -07:00
Brian C. Lane
0e8f8ff679 - Add conflict test between ostree sources (#2125655) (jkonecny)
Related: rhbz#2125655
- Fix missing seen check for output generation (#2125655) (jkonecny)
  Related: rhbz#2125655
- Add new ostreecontainer command (#2125655) (jkonecny)
  Related: rhbz#2125655
  Resolves: rhbz#2125655
  Related: rhbz#2125655
- Check the conflicting commands automatically (vponcova)
- Fix tests for conflicting commands (vponcova)
- Add conflicting commands support (bcl)
- Fix handling of package section arguments in older versions (bcl)
2023-03-14 11:38:27 -07:00
Brian C. Lane
877caefd64 - workflow: Update to use released python 3.11 version (bcl)
- Don't allow to use --sdboot and --extlinux together (vponcova)
- tests: add bootloader sdboot option (jeremy.linton)
- bootloader: Add systemd-boot support with --sdboot (jeremy.linton)
- Add %changelog section to pykickstart.spec.in (jkonecny)
- Do not request sign for rc-release Makefile target (jkonecny)
- Do not require SPECFILE for rc-release (jkonecny)
- Add missing docs copy to scratch Makefile (jkonecny)
- Add support for Fedora 39 (vslavik)
2023-03-08 09:18:10 -08:00
Brian C. Lane
977477db9d tests: Switch functional testing to use tmt framework
This also changes from running the unit tests, which are now run as part
of the rpm build, to running ksvalidator and ksflatten on some test
kickstarts.

./tests/good-ks/ contains kickstarts expected to pass
./tests/bad-ks/ contains kickstarts expected to fail
./tests/include-ks/ contains kickstarts expected to pass, with includes

(note that the %include directives in good-ks are not processed by
ksvalidator).
2023-02-21 11:31:57 -08:00
Brian C. Lane
b1da39fe21 tests: Enable the pykickstart unit tests
These now work fine in a mock environment and provide excellent
coverage.
2023-02-21 10:55:24 -08:00
Brian C. Lane
a818771e25 - Add DNS handling options to the network command (vslavik)
Related: rhbz#1656662
- Fix the coverage report (vponcova)
- whitelist_externals has changed to allowlist_externals (bcl)
- Update %post example for DNS problems (bcl)
- deps: Move dependencies into requirements.txt (bcl)
- Fix syntax of a code sample (ewoud)
2023-02-15 15:53:40 -08:00
Brian C. Lane
d0852c10bc SPDX migration 2023-01-30 15:31:13 -08:00
Fedora Release Engineering
c4e3252d65 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:39:35 +00:00
Brian C. Lane
370314d353 - pyproject.toml: Add dependencies (bcl)
- sshkey: Escapes quotes in the ssh key (bcl)
  Resolves: rhbz#2117734
- test: Add Python 3.11 to test matrix (bcl)
- Add --hibernation option to AutoPart (ozobal)
- Makefile: Include pyproject.toml in new release commit (bcl)
2022-08-29 12:22:43 -07:00
Brian C. Lane
8166ad4d19 - Use RHEL9 for RHEL command documentation (bcl)
- setup.py: use setuptools not distutils (bcl)
- Add pyproject.toml and update setup.py (bcl)
- Add Fedora 38 support (bcl)
2022-08-16 08:58:13 -07:00
Fedora Release Engineering
aca9cba842 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:47:40 +00:00
Python Maint
47c78d3fac Rebuilt for Python 3.11 2022-06-16 19:22:42 +02:00
Brian C. Lane
e0c1e9f767 - Write commands in alphabetical order (bcl)
Resolves: rhbz#2096871
2022-06-16 09:16:34 -07:00
Python Maint
e3c0e18c48 Rebuilt for Python 3.11 2022-06-14 17:03:58 +02:00
Brian C. Lane
3ec2a91656 - Add support for automatic LUN Scan (vponcova)
Related: rhbz#1432883
2022-06-13 15:15:31 -07:00
Python Maint
7426286be3 Rebuilt for Python 3.11 2022-06-13 17:47:35 +02:00
Brian C. Lane
6f60b44847 - tests: Fix unused out variable warnings (bcl)
- rootpw: Add an --allow-ssh argument (bcl)
  Resolves: rhbz#2083269
- github: Fix workflow to only send coverage for python 3.9 (bcl)
2022-06-02 10:01:27 -07:00
Brian C. Lane
d7cab95a21 - Add test for missing closing quote (bcl)
- i18n: Pass gettext domain on every translation call (bcl)
2022-04-07 11:04:09 -07:00
Brian C. Lane
9e88df9f50 - Remove the --ignorebroken option from RHEL handlers (vponcova)
- Add the isRHEL function (vponcova)
2022-02-28 14:52:15 -08:00
Brian C. Lane
6c4fe96dc7 - github: Add rhel9-branch to the list of branches (bcl)
- github: Use python 3.10 instead of a rc release (bcl)
- Fix validation of packages arguments (bcl)
- Add Fedora 37 support (vslavik)
- Add Fedora 36 support (vslavik)
2022-02-15 16:28:47 -08:00
Fedora Release Engineering
a038870bda - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:49:05 +00:00
Brian C. Lane
90483a464f - bootloader: Fix --md5pass documentation (bcl)
- Update ksvalidator manpage for multiple input files (vslavik)
- Test new code paths in ksvalidator (vslavik)
- ksvalidator: Add file globbing (vslavik)
- Rename _is_url() to is_url() to make it public (vslavik)
- ksvalidator: Add support for multiple files (vslavik)
- ksvalidator: Handle empty files (bcl)
- ksflatten: Add test coverage for unknown version (bcl)
- tests: Add python 3.10 to the test matrix (bcl)
- ksflatten: Fix pylint complaint about msg reuse (bcl)
- Remove more python2 compatability (bcl)
- tests: Ignore new pylint warnings (bcl)
- Fix typo "installaton" (amahdal)
- Be more consistent when referring to `%pre` (amahdal)
2021-10-12 11:22:44 -07:00
Fedora Release Engineering
cf7bb5eec6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 04:26:20 +00:00
Brian C. Lane
0daa55f384 - Remove the auth and authconfig commands (pbrezina)
- The parse method is expected to return a value (vponcova)
- tests: unittest isn't used in handle_unicode anymore (bcl)
- Add RHEL 9 handler (mkolman)
  Resolves: rhbz#1966730
- Add RHEL 9 version for commands that had a RHEL version in the past (mkolman)
  Related: rhbz#1966730
- Add RHEL 9 version for BTRFS related commands (mkolman)
  Related: rhbz#1966730
2021-07-13 14:12:34 -07:00
Brian C. Lane
9794ff0ea3 - tests: Use pykickstart/commands relative to the import (bcl)
Related: rhbz#1968762
- Document missing feature '|' for ignoredisk and clearpart (jkonecny)
- Remove python six library (bcl)
- Add Fedora 35 support (bcl)
2021-06-09 14:19:30 -07:00
Python Maint
a3f916a7e0 Rebuilt for Python 3.10 2021-06-03 10:56:14 +02:00
Fedora Release Engineering
463989fcdb - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:53:41 +00:00
Brian C. Lane
66e138ab8d - New release: 3.32 (bcl)
- Conditionally BuildRequire coverage and sphinx for runtests (bcl)
  Resolves: rhbz#1916735
- Change the lilo command removal to use RemovedCommand (vslavik)
- Change the lilocheck command removal to use RemovedCommand (vslavik)
- Fix test for the removed "interactive" command (vslavik)
- Change the langsupport command removal to use RemovedCommand (vslavik)
- Change the monitor command removal to use RemovedCommand (vslavik)
- Change the mouse command removal to use RemovedCommand (vslavik)
- Change the upgrade command removal to use RemovedCommand (vslavik)
- Fix ksverdiff detection of removed commands (vslavik)
- Check warnings of the deprecated kickstart commands (vponcova)
- Remove the install command (vslavik)
- Remove the deviceprobe command (vslavik)
- Remove the device command (vslavik)
- Remove the dmraid command (vslavik)
- Remove the multipath command (vslavik)
- Fix deprecation test for removed commands (vslavik)
- Switch interactive removal to use RemovedCommand (bcl)
- Add RemovedCommand for removing commands and documenting them (bcl)
- Remove support for the updates command without an URL (vponcova)
- Document how to deprecate commands and options (bcl)
- Remove the ignoredisk --interactive option (vslavik)
- Remove the partition --active option (vslavik)
- Deprecate the %traceback section (vslavik)
- Add missing .coveragerc file (bcl)
- Switch to using GitHub Actions instead of Travis CI (bcl)
- Add support for running via tox (bcl)
- Deprecate the method command (vslavik)
- Remove the bootloader option --upgrade (vslavik)
2021-01-18 11:40:13 -08:00
Brian C. Lane
119b633434 Conditionally BuildRequire coverage and sphinx for runtests
They aren't needed for the build unless runtests has been selected (it
is disabled by default).

Resolves: rhbz#1916735
2021-01-15 12:02:01 -08:00
Brian C. Lane
dd6f3364fc - Add make to BuildRequires, buildroot is removing it.
- Deprecate the autostep command (vslavik)
- Add missing spaces into the message (yurchor)
- ksshell: Fix indentation in _init_matches (bcl)
- Mark the level option of the logging command as deprecated (vponcova)
2020-11-05 14:07:06 -08:00
Brian C. Lane
42d1265986 - New release: 3.30 (bcl)
- ksshell: Fix traceback and add tests (bcl)
- fs: Make tmp file creation cross-platform in ksvalidator to support Windows
  (6096029+ciarancourtney)
2020-09-29 16:01:58 -07:00
Brian C. Lane
361fdfce50 - New release: 3.29 (bcl)
- setup.py: Fix script installation without filename extension (bcl)
2020-08-31 13:47:48 -07:00
Brian C. Lane
2566802e4f - New release: 3.28 (bcl)
- Makefile: Add __init__.py with new version to bumpver commit (bcl)
- tests: Ignore W0707 raise-missing-from warnings (bcl)
- Add Fedora 34 support (bcl)
- Add new tests for the harddrive biospart parameter removal (jkonecny)
- Remove biospart from harddrive command (jkonecny)
- move dependencies into setup.py and use setuptools (carlos)
- remove reference to py3 as a requirement (carlos)
- remove references to nose test framework (carlos)
- update dist to 18.04 (carlos)
- add ci test for future py ver (carlos)
- use new travis-ci syntax (carlos)
- parser: Remove OrderedSet (bcl)
- tests: Add a slightly different test for Package.add (bcl)
- Add pykickstart.__version__ string (bcl)
2020-08-31 10:22:16 -07:00
Fedora Release Engineering
4d8bcb7102 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 23:19:37 +00:00
Brian C. Lane
63ad65405c - New release: 3.27 (bcl)
- tests: Fix pylint warnings in timezone tests (bcl)
- Mark --ntpservers and --nontp options of timezone command as deprecated (mkolman)
- Add the timesource command (mkolman)
2020-07-07 11:43:07 -07:00