Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKPORT] repo-add: unconditionally create the database if it is missing #49

Merged
merged 1 commit into from
May 9, 2024

Conversation

lazka
Copy link
Member

@lazka lazka commented May 9, 2024

In f91fa54 (repo-add: do not recreate the database if nothing was changed),
repo-add was made to skip database write-out if there were no changes to
the database. However, this breaks the usage of repo-add to create a new
empty database: `repo-add /path/to/mydb/mydb.db.tar.xz`.

Bring back support for this use-case by always writing the database if
it is missing.

Fixes: f91fa54
@lazka lazka merged commit 761a878 into msys2:msys2-v6.1.0 May 9, 2024
1 check passed
lazka added a commit to lazka/MSYS2-packages that referenced this pull request May 9, 2024
Same as msys2#4584 but with an additional backport:
msys2/msys2-pacman#49
lazka added a commit to lazka/MSYS2-packages that referenced this pull request May 9, 2024
Same as msys2#4584 but with an additional backport:
msys2/msys2-pacman#49

Old message:

See msys2/msys2-pacman#45

makepkg.conf synced with the upstream version:
https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.1.0/etc/makepkg.conf.in

Skip patches only changing CI configs
stahta01 pushed a commit to stahta01/MSYS2-32bit-packages that referenced this pull request May 9, 2024
Same as #4584 but with an additional backport:
msys2/msys2-pacman#49

Old message:

See msys2/msys2-pacman#45

makepkg.conf synced with the upstream version:
https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.1.0/etc/makepkg.conf.in

Skip patches only changing CI configs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to pacman 6.1
2 participants