- Notifications
You must be signed in to change notification settings - Fork 15
Comparing changes
Open a pull request
base repository:archlinux/dbscripts
Uh oh!
There was an error while loading. Please reload this page.
base:master
head repository:archlinux/dbscripts
Uh oh!
There was an error while loading. Please reload this page.
compare:debug
Uh oh!
There was an error while loading. Please reload this page.
- 20 commits
- 17 files changed
- 2 contributors
Commits on Oct 28, 2021
Configuration menu - View commit details
Copy full SHA for 9894b40 - Browse repository at this point
Copy the full SHA 9894b40View commit details Configuration menu - View commit details
Copy full SHA for cb20b63 - Browse repository at this point
Copy the full SHA cb20b63View commit details Configuration menu - View commit details
Copy full SHA for 2a5f244 - Browse repository at this point
Copy the full SHA 2a5f244View commit details These are not debug prints, don't stick them in the same commit...
Configuration menu - View commit details
Copy full SHA for 24ac4d2 - Browse repository at this point
Copy the full SHA 24ac4d2View commit details db-functions: Create DEBUGREPOS and DEBUGPKGPOOL
Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 25f14c2 - Browse repository at this point
Copy the full SHA 25f14c2View commit details test/lib: Ensure we can create debug packages, create debug pkg pool
Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 46fa8e3 - Browse repository at this point
Copy the full SHA 46fa8e3View commit details test/lib/common: make checkPackageDB DEBUGPKGPOOL aware
Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 30a4c49 - Browse repository at this point
Copy the full SHA 30a4c49View commit details test/lib/common: Make checkPackageDB aware of debug packages
We simply remove the -debug prefix if present and ensure we are checking the SVN repository for the PKGBUILD in the actual repository. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 3f58561 - Browse repository at this point
Copy the full SHA 3f58561View commit details test/cases/db-update: Add debug package test
Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 7709870 - Browse repository at this point
Copy the full SHA 7709870View commit details db-move: Add support for debug packages
The gist of this change is to always peak into the DEBUGPKGPOOL and ensure if a ${pkgbase}-debug exists in the debug repository. Signed-off-by: Morten Linderud <morten@linderud.pw>Configuration menu - View commit details
Copy full SHA for 8b54093 - Browse repository at this point
Copy the full SHA 8b54093View commit details test/lib/common: Make checkRemovedPackage aware of debug packages
This ensures we do not have the debug repository at hand when looking at the SVN state files. However, there is no good way to figure out if we have a debug package as .BUILDINFO nor .PKGINFO has the information we need. We blindly assume that any package where we look up a *-debug repository is a debug package. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for afb746e - Browse repository at this point
Copy the full SHA afb746eView commit details test/cases/db-move: Create a test for db-move
Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 5cd41fd - Browse repository at this point
Copy the full SHA 5cd41fdView commit details test/cases/testing2x: Added debug package test case
Internally this uses db-move, so this should just do the correct thing. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for a8fca09 - Browse repository at this point
Copy the full SHA a8fca09View commit details db-remove: Add debug package support
We check if there is a globfile match for a debug package when removing the package from the main repository. This also adds a guard to the usual package removal, and removing an unused variable. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for b090f09 - Browse repository at this point
Copy the full SHA b090f09View commit details test/cases/db-remove: Added test for debug packages
Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 1f251d6 - Browse repository at this point
Copy the full SHA 1f251d6View commit details test/cases/db-repo-add: Added test case for db-repo-add
We check if there is a debug package found in the mirroring debug repository and mark this as `is_debug` if found. This creates the needed symlinks for the package pool. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 59a21a4 - Browse repository at this point
Copy the full SHA 59a21a4View commit details test/cases/db-repo-remove: Added debug package test
This adds a test case for debug packages. It should be noted that nothing has really been changed to support this. This just check that db-repo-remove can remove a package from a *-debug repository with a -debug suffix. However, nice to have this in case regressions. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for b876701 - Browse repository at this point
Copy the full SHA b876701View commit details test/fixtures: add pkg-debuginfo-{a,b}
This allows us to test multiple packages, which is relevant for ftpdir-cleanup later on. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 34e0f36 - Browse repository at this point
Copy the full SHA 34e0f36View commit details cronjobs/ftpdir-cleanup: Support DEBUGPKGPOOL
This implementation is probably the easiest one and/or cheap. After building a list of all packages in the repositories we filter the lists into two separate working lists. One for normal packages and one for debug packages. The only issue is that we can encounter globs with no matching cleanup lists, like when running ftpdir-cleanup after the debug package changes has been introduced, but before deploying new repositories. We guard against this by ensuring we have found debug packages, and normal packages, before checking the working lists. This introduces some duplicated code but should be fine. Rest of the logic is mirrored between the two package pools. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for f2f6880 - Browse repository at this point
Copy the full SHA f2f6880View commit details test/cases/ftpdir-cleanup: Add debug package test case
We expand the internal __checkRepoRemovedPackage function with globfile lookups towards DEBUGPKGPOOL and the debug repository. This ensures we should get a hit for the relevant debug packages. Signed-off-by: Morten Linderud <morten@linderud.pw>
Configuration menu - View commit details
Copy full SHA for 15abf50 - Browse repository at this point
Copy the full SHA 15abf50View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine: git diff master...debug
Uh oh!
There was an error while loading. Please reload this page.