Commit graph

26 commits

Author SHA1 Message Date
David Murphy
e8441238e1 Initial removal usage of distutils and replacement with setuptools 2022-12-20 07:07:21 -07:00
Benjamin Drung
13d4751270 test: Use osrelease instead of lsb_distrib_release
Replace `lsb_distrib_release` by `osrelease` in the tests to avoid
needing to set the lsb_* values.

Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-11-30 13:12:14 -07:00
MKLeb
58ec510d26
Merge tag 'v3005.1' into merge-forward/3005.1
Version 3005.1
2022-10-04 20:52:23 -04:00
Damien Degois
d4be0e3959 Add test for multi arch join repo option 2022-09-15 10:43:46 -06:00
Damien Degois
78972c12f1 Add test for test=true for #62662 (signedby issue) 2022-09-15 08:13:33 -06:00
Megan Wilhite
d0f9c7b051 Use str() method instead of repo_line for SourceEntry 2022-09-06 07:16:25 -06:00
Pedro Algarvio
51b4a1a0c5 Fixed parsing CDROM apt sources
Fixes #62474

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-09-01 07:54:38 -07:00
Megan Wilhite
b17cdf0da4 Use str() method instead of repo_line for SourceEntry 2022-08-30 13:04:03 -06:00
Pedro Algarvio
4d49013247 Update to isort 5.10.1
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-08-01 12:49:16 -06:00
Megan Wilhite
23d990475f Fix aptpkg.py tests 2022-06-30 10:04:23 -06:00
Megan Wilhite
615f35621b Do not invalidate when signed-by is used 2022-06-30 10:04:23 -06:00
Megan Wilhite
2a5d98d490 Remove signedby argument. Specify in the name 2022-06-30 10:04:23 -06:00
Megan Wilhite
058379e0be fix pre-commit 2022-06-27 12:41:45 -06:00
Megan Wilhite
dd59eae7eb Add test coverage for debian pkgrepo for index Keyerror and using key_url 2022-06-27 12:41:45 -06:00
Gareth J. Greenaway
ca409f0a90
Handle the situation when apt repo lines have or do not have trailing slashes properly (#62173)
* Handle the situation when apt repo lines have or do not have trailing slashes properly

* need to account for different functionality between internal vs extenral aptsources classes.

* fixing tailing test_refresh_db test

* Adding changelog files.
2022-06-22 07:10:29 -06:00
Gareth J. Greenaway
0964bde9db Update test_debian.py
One more PoxixPath that needs to be a string.
2022-06-17 17:59:04 -07:00
Gareth J. Greenaway
058ea2af5d Update test_debian.py
Change another PosixPath for a string for Debian 9.
2022-06-17 17:59:04 -07:00
Megan Wilhite
c047b19c93 Fix debian 9 pkg tests 2022-06-17 17:59:04 -07:00
Megan Wilhite
950fdf8eb4 Fix tests on ubuntu 22.04 2022-06-17 17:59:04 -07:00
Megan Wilhite
9b3cfcb956 Change signedby default directory to /etc/apt/keyrings 2022-06-17 17:59:04 -07:00
Megan Wilhite
3c6c6383b1 Fix pre-commit 2022-06-09 06:55:38 -06:00
Megan Wilhite
8de5be122a migrate pkgrepo tests to test_debian.py 2022-06-09 06:55:38 -06:00
MKLeb
2c5865a15c fix failing test_pkgrepo_managed_absent and actually capture and keep signed-by information in salt/modules/aptpkg.py custom implementation of apt repository management 2022-05-20 06:43:15 -07:00
nicholasmhughes
be744c3869 move trailing slash repo file to a fixture 2022-05-05 12:55:06 -04:00
nicholasmhughes
29e792794f fixes saltstack/salt#58807 debian repo with trailing slash always shows changes 2022-05-05 12:55:06 -04:00
Pedro Algarvio
cedccff8c7 Migrate `tests.integration.states.test_pkgrepo` to functional tests.
Additionally, for Debian based distributions, test ``pkgrepo`` with the
system ``aptsources`` package and without it.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-04-11 15:02:54 -04:00