Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository:archlinux/dbscripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base:master
Choose a base ref
...
head repository:archlinux/dbscripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:debug
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 17 files changed
  • 2 contributors

Commits on Oct 28, 2021

  1. Configuration menu
    Copy the full SHA
    9894b40View commit details
    Browse the repository at this point in the history
  2. wip: add support for debug packages

    @eli-schwartz@jelly
    eli-schwartz authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    cb20b63View commit details
    Browse the repository at this point in the history
  3. debug prints

    @eli-schwartz@jelly
    eli-schwartz authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    2a5f244View commit details
    Browse the repository at this point in the history
  4. wip: debug: db-move

    These are not debug prints, don't stick them in the same commit...
    @eli-schwartz@jelly
    eli-schwartz authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    24ac4d2View commit details
    Browse the repository at this point in the history
  5. db-functions: Create DEBUGREPOS and DEBUGPKGPOOL

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    25f14c2View commit details
    Browse the repository at this point in the history
  6. test/lib: Ensure we can create debug packages, create debug pkg pool

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    46fa8e3View commit details
    Browse the repository at this point in the history
  7. test/lib/common: make checkPackageDB DEBUGPKGPOOL aware

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    30a4c49View commit details
    Browse the repository at this point in the history
  8. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    3f58561View commit details
    Browse the repository at this point in the history
  9. test/cases/db-update: Add debug package test

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    7709870View commit details
    Browse the repository at this point in the history
  10. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    8b54093View commit details
    Browse the repository at this point in the history
  11. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    afb746eView commit details
    Browse the repository at this point in the history
  12. test/cases/db-move: Create a test for db-move

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    5cd41fdView commit details
    Browse the repository at this point in the history
  13. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    a8fca09View commit details
    Browse the repository at this point in the history
  14. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    b090f09View commit details
    Browse the repository at this point in the history
  15. test/cases/db-remove: Added test for debug packages

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    1f251d6View commit details
    Browse the repository at this point in the history
  16. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    59a21a4View commit details
    Browse the repository at this point in the history
  17. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    b876701View commit details
    Browse the repository at this point in the history
  18. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    34e0f36View commit details
    Browse the repository at this point in the history
  19. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    f2f6880View commit details
    Browse the repository at this point in the history
  20. 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>
    @Foxboron@jelly
    Foxboron authored and jelly committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    15abf50View commit details
    Browse the repository at this point in the history
Loading