Skip to content
Snippets Groups Projects

Draft: whitelists: Add delta_package_ignore_list

Open Dylan Aïssi requested to merge wip/daissi/delta-pkg-ignorelist into master
1 unresolved thread

Merge request reports

Approval is optional
Ready to merge by members who can write to the target branch.

Merge details

  • The source branch is 22 commits behind the target branch.
  • 0 commits and 1 merge commit will be added to .
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
862 862 # my-pkg: "1.0.0-1+apertis1~v2023"
863 863 DELTA_CHANNEL_IGNORELIST:
864 864 apertis/v2023: "Debian oldstable based Apertis release, delta are not relevant anymore"
865 DELTA_PACKAGE_IGNORELIST:
866 v2024:
867 adduser:
868 "1 file changed, 1 insertion(+), 1 deletion(-)": "Change default shell to /bin/sh"
869 v2025dev3:
870 adduser:
871 "1 file changed, 1 insertion(+), 1 deletion(-)": "Change default shell to /bin/sh"
  • Comment on lines +865 to +871
    Author Maintainer

    @wlozano What do you think about this way to whitelist delta flags? It's not perfect, but at least it should avoid having outdated whitelists.

  • I was not the reviewer on this one, that is why I missed it. I think we should decouple the stats reasoning from the reasoning, which make thing clearer. Also, my understanding is that the reasoning probably will remain the same across several releases, in which case we can use some yaml anchors and aliases to avoid too much duplication. Finally, there might be cases that generic aliases can be used for several packages, for instance 'Drop GPL-3 code'.

    Does it make sense?

  • Author Maintainer

    I was not the reviewer on this one, that is why I missed it.

    My bad! I realized today that I had also forgotten for another MR. :face_palm:

    I think we should decouple the stats reasoning from the reasoning, which make thing clearer.

    What about this way?

      DELTA_PACKAGE_SHORTSTAT:
        v2024:
          adduser:
            "1 file changed, 1 insertion(+), 1 deletion(-)"
        v2025dev3:
          adduser:
            "1 file changed, 1 insertion(+), 1 deletion(-)"
      DELTA_PACKAGE_REASON:
        v2024:
          adduser:
            "Change default shell to /bin/sh"
        v2025dev3:
          adduser:
            "Change default shell to /bin/sh"

    Also, my understanding is that the reasoning probably will remain the same across several releases, in which case we can use some yaml anchors and aliases to avoid too much duplication. Finally, there might be cases that generic aliases can be used for several packages, for instance 'Drop GPL-3 code'.

    :100: I totally agree this was my initial idea.

  • What about

      DELTA_PACKAGE_IGNORE_LIST:
        v2024:
          adduser:
            shortstat: "1 file changed, 1 insertion(+), 1 deletion(-)"
            reason: "Change default shell to /bin/sh"
        v2025dev3:
          adduser:
            shortstat: "1 file changed, 1 insertion(+), 1 deletion(-)"
            reason: "Change default shell to /bin/sh"
    Edited by Walter Lozano
  • Author Maintainer

    Much better!

  • Dylan Aïssi changed this line in version 4 of the diff

    changed this line in version 4 of the diff

  • Author Maintainer

    I pushed this change and also I've added two ways of using anchors as an example.

  • I love it!

  • Please finish the implementation (when you have time) with this approach.

  • Please register or sign in to reply
  • Dylan Aïssi added 8 commits

    added 8 commits

    Compare with previous version

  • Dylan Aïssi added 15 commits

    added 15 commits

    Compare with previous version

  • Walter Lozano requested review from @wlozano

    requested review from @wlozano

  • Dylan Aïssi added 10 commits

    added 10 commits

    Compare with previous version

  • Dylan Aïssi added 1 commit

    added 1 commit

    • 0e13d748 - whitelists: Add DELTA_PACKAGE_IGNORE_LIST

    Compare with previous version

  • Dylan Aïssi added 1 commit

    added 1 commit

    • 03f87ce3 - whitelists: Add DELTA_PACKAGE_IGNORE_LIST

    Compare with previous version

  • Dylan Aïssi added 1 commit

    added 1 commit

    • cb706fee - whitelists: Add DELTA_PACKAGE_IGNORE_LIST

    Compare with previous version

  • Dylan Aïssi added 1 commit

    added 1 commit

    • 7637becd - whitelists: Add DELTA_PACKAGE_IGNORE_LIST

    Compare with previous version

  • Dylan Aïssi added 1 commit

    added 1 commit

    • 961baeff - whitelists: Add delta_package_ignore_list

    Compare with previous version

  • Dylan Aïssi changed title from Draft: whitelists: Add DELTA_PACKAGE_IGNORELIST to Draft: whitelists: Add delta_package_ignore_list

    changed title from Draft: whitelists: Add DELTA_PACKAGE_IGNORELIST to Draft: whitelists: Add delta_package_ignore_list

  • Dylan Aïssi added 5 commits

    added 5 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading