- 02 Jan, 2022 1 commit
-
-
Allan McRae authored
./build-aux/update-copyright 2021 2022 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 20 Nov, 2021 1 commit
-
-
Morgan Adamiec authored
change pacman-dev@archlinux.org to pacmandev@lists.archlinux.org Most of this is copyright notices but this also fixes FS#72129 by updating the address in docs/index.asciidoc.
-
- 01 Mar, 2021 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Jan, 2021 1 commit
-
-
Populating a file:// Server prevents any manually registered HTTP servers from ever being used. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 10 Feb, 2020 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 23 Oct, 2019 1 commit
-
-
Allan McRae authored
make update-copyright OLD=2018 NEW=2019 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 19 Oct, 2018 1 commit
-
-
Dave Reisner authored
Use BytesIO instead of StringIO, and ensure that we unicode-encode data where needed.
-
- 13 May, 2018 1 commit
-
-
Many of these are pointless (e.g. there is no need to explicitly turn on spellchecking and language dictionaries for the manpages by default). The only useful modelines are the ones enforcing the project coding standards for indentation style (and "maybe" filetype/syntax, but everything except the asciidoc manpages and makepkg.conf is already autodetected), and indent style can be applied more easily with .editorconfig Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 14 Mar, 2018 1 commit
-
-
Allan McRae authored
make update-copyright OLD=2017 NEW=201 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 04 Jan, 2017 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 04 Jan, 2016 1 commit
-
-
Allan McRae authored
make update-copyright OLD=2015 NEW=2016 Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 18 Oct, 2015 2 commits
-
-
Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 01 Feb, 2015 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 13 Oct, 2014 1 commit
-
-
Adds a cmd property to tests (defaults to pacman) which is resolved using directories specified with --bindir (defaults to PATH). The ability to manually specify a particular binary is preserved in order to allow running individual tests with differently named binaries such as lt-pacman. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 06 Jan, 2014 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Dec, 2013 1 commit
-
-
Use the 'configure'd PYTHON to run pactest instead of the one hard-coded (with '#!') in pactest.py. Also remove useless '#!' from non-main .py files. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 14 Oct, 2013 2 commits
-
-
The .items, .keys, and .values methods in Python 2 make copies, so the test framework uses the .iter* flavors of those methods. But in Python 3 those .iter* (and even the 2.7 .view*) flavors are removed and the original methods return views. Measurements were taken under Python2 to see what impact the copying had, and there was none. Thus it is not worth the effort to avoid. Reported as a compatibility issue by 2to3. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
Reported as a compatibility issue by 2to3. Signed-off-by:
Jeremy Heiner <ScalaProtractor@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 21 Aug, 2013 1 commit
-
-
Each test produces a single TAP result with the rules run in a sub-test. This reduces output when run under automake and makes it possible to continue setting expectfailure at the test level rather than per-rule. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 15 Apr, 2013 1 commit
-
-
open() is the standard way to open a file in python. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 28 Jan, 2013 1 commit
-
-
Allan McRae authored
pacman can be configured to use a different shell than /bin/sh for scriplets. Pass the cnfigured value to the pactest suite and make the necessary "copy" of the shell in the test root. Also update all copyright years in the pactest suite. Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 08 Mar, 2012 1 commit
-
-
Allan McRae authored
Python PEP-394 states that all python code should point at the python2 or python3 symlinks at maintain cross-distro compatibility. Note that this does not matter when calling these scripts using "make check" as they are explictly called using the detected python version. As this only affects manually calling these scripts, I have not had configure/make replace the shebangs. Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 01 Sep, 2011 1 commit
-
-
Dan McGee authored
This removes the last usages of this rule that aren't explicitly looking at real output from pacman. Notably, these tests depended on one particular debug logger not ever being changed, which is too fragile, not to mention doesn't work at all with --nolog. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 17 Aug, 2011 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 02 Aug, 2011 1 commit
-
-
Dan McGee authored
Add code to conf.c that parses the new SigLevel directive. An overwhelming number of options are presented, but most users will still be fine with the Never/Optional/Required trio. More advanced users can combine these or any of the other options on a 'SigLevel = ' line, which is parsed in a left-to-right fashion and flags turned on and off accordingly. For example, all three of these will net the same config: SigLevel = Required PackageOptional SigLevel = Optional DatabaseRequired SigLevel = DatabaseRequired PackageOptional Additionally, database-specific lines assume you wish to start with any global default that has been set. For example, if any of the above lines were in the [options] section, something such as: SigLevel = PackageRequired PackageAllowMarginal Would continue to enforce required database signatures. Inspiration-by:
Kerrick Staley <mail@kerrickstaley.com> Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 30 Jun, 2011 1 commit
-
-
Dan McGee authored
This is similar to what was just done for the sync databases. Move a few pieces around so we never need to actually write out the filesystem to create a package, and simply stream the tarfile out from the data we've collected. Once again, a few newline addition hacks and other things have to be left in place in order not to break everything; this time however most of the assumptions are in pactest and not libalpm. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 24 Jun, 2011 4 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
These are definite methods that operate on a package, so move them there which cleans up util a bit more. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Remove empty docstrings, small and easy pylint fixes, etc. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 16 May, 2011 1 commit
-
-
Dan McGee authored
Don't call os.stat() when we should be using os.lstat(); this allows us to actually test dead symlinks that don't have a corresponding file. Add a new LINK_EXIST rule that complements FILE_EXIST for a similar purpose. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 23 Mar, 2011 1 commit
-
-
Xavier Chantry authored
Once we do this, add support for VerifySig to pactest. We just check if the repo name contains Always, Never or Optional to determine the value of VerifySig. The default is Never. pacman uses Always by default but this is not suitable for pactest. Original-work-by:
shankar <jatheendra@gmail.com> Signed-off-by:
Xavier Chantry <shiningxc@gmail.com> Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 01 Mar, 2011 1 commit
-
-
Dan McGee authored
I managed to just make deptest001.py fail by changing a DEBUG-level logger in commit b12be99c . This should not be this fickle. Enhance the OUTPUT rule to use an actual Python re object when looking for matches, and make a lot of the rules use stronger patterns to match with. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 22 Jan, 2011 3 commits
-
-
Dan McGee authored
The order was non-deterministic before, and just happened to work for sync023.py as it was written. Ensure there is some sort of predictable ordering. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 06 Jan, 2011 1 commit
-
-
Dan McGee authored
Stopped being used after commit fa933df6 . Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 14 Oct, 2010 1 commit
-
-
Dan McGee authored
This adds epoch support to pactest, while still producing packages and database entries the same way makepkg and repo-add currently do in a backward compatible fashion (still including the 'force' option). Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 11 Oct, 2010 1 commit
-
-
Xavier Chantry authored
gensync generated a sync.db file with PKGINFO syntax, this is not quite what pacman expects. Also the file was only added to the Server path: root/var/pub/sync/sync.db but it was not available in the normal sync db path: root/var/lib/pacman/sync/sync.db Change gensync() to generate var/lib/pacman/sync/sync.db and then copy it to var/pub/sync/sync.db (this is used by sync200 -Sy test). Signed-off-by:
Dan McGee <dan@archlinux.org>
-