- 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 May, 2021 1 commit
-
-
Builds the package file in memory. Useful with the built-in server. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com>
-
- 01 Mar, 2021 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 10 Feb, 2020 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 12 Nov, 2019 1 commit
-
-
Allan McRae authored
python-3.8 changed the default tar format to PAX_FORMAT. This caused issues in our testsuite with package extraction of files with UTF-8 characters as we run the tests under the C locale. sycn600.py: error: error while reading package /tmp/pactest-xuhri4xa/var/cache/pacman/pkg/unicodechars-2.0-1.pkg.tar.gz: Pathname can't be converted from UTF-8 to current locale. Set format back to GNU_FORMAT. 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 1 commit
-
-
Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 01 Feb, 2015 1 commit
-
-
Allan McRae authored
Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 03 Mar, 2014 1 commit
-
-
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>
-
- 15 Apr, 2013 1 commit
-
-
TarInfo objects default to mode 0644 while mkfile in util.py uses 0755 for directories, causing pacman warnings about differing permissions on tests involving package updates. Set the mode on TarInfo directory objects to 0755 unless the test specifies a different mode. Bug referenced in FS#30723. Signed-off-by:
Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by:
Allan McRae <allan@archlinux.org>
-
- 09 Mar, 2013 1 commit
-
-
Several tests require complete file lists in order to provide accurate results. These can be non-obvious. Adding missing parent directories helps insure the integrity of tests against human error. Filling in parent directories also allows us to check that file lists are actually valid. There didn't seem to be a good place to do this that was always guaranteed to be run, so this adds a finalize() function to packages that will always be run before the package is actually used to allow for this type of tidying. Fixes FS#30723 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>
-
- 17 Aug, 2011 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 30 Jun, 2011 2 commits
-
-
Dan McGee authored
libalpm can now cope with this as of commit 719e0d3d . Signed-off-by:
Dan McGee <dan@archlinux.org>
-
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 5 commits
-
-
Dan McGee authored
Sync database are no longer exploded on the filesystem. Rework the logic used to generate our test databases so we can create them completely in memory without having to write the individual files to disk at all. The local database is unaffected. Note that several shortcomings in libalpm parsing were discovered by this change, which have since been temporarily patched around in this test suite: * archive_fgets() did not properly handle a file that ended in a non-newline, and would silently drop the data in this line. * sync database with only the file entries and not the directories would fail to parse properly, and even cause segfaults in some cases. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
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
Remove empty docstrings, small and easy pylint fixes, etc. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 08 Jun, 2011 1 commit
-
-
Dan McGee authored
We were testing whether there were any values in the array, rather than looking if the values contained anything. 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>
-
- 21 Apr, 2011 1 commit
-
-
Dan McGee authored
This does touch a lot of things, and hopefully doesn't break things on other platforms, but allows us to also clean up a bunch of crud that no longer needs to be there. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 23 Mar, 2011 1 commit
-
-
Dan McGee authored
Allow pkg.pgpsig to end up in the created sync databases. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 22 Jan, 2011 4 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Remove all logic dealing with PKG_MODIFIED as this rule no longer exists. This removes a bunch of unnecessary stat and checksum logic that most of the time we were never even using. Also update the file modified checks to mark every file created using mkfile() with an older time so any modified checks will just work without hacks. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Instead, go the same route we have always taken with version-release in libalpm and treat it all as one piece of information. Makepkg is the only script that knows about epoch as a distinct value; from there on out we will parse out the components as necessary. This makes the code a lot simpler as far as epoch handling goes. The downside here is that we are tossing some compatibility to the wind; packages using force will have to be rebuilt with an incremented epoch to keep their special status. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 10 Jan, 2011 1 commit
-
-
Dan McGee authored
We were missing this in a few places; also add the ability to check the outcome via a new rule type. Signed-off-by:
Dan McGee <dan@archlinux.org>
-