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

Fixes for gettext make process and postgresql database backup method #16

Merged
merged 5 commits into from Dec 26, 2011

Conversation

gzarkadas
Copy link

The gettext make fix ensures that 'make clean' returns the po/ subtree to its original status, something that will make the life of downstream packagers a lot easier (cf. the Debian case: http://anonscm.debian.org/gitweb/?p=collab-maint/backup-manager.git;a=blobdiff;f=debian/rules;h=0b8ffbafe6a96429648087f043db8ba707e0f6a1;hp=cbf3a530172f942f8389955fcb96585a65c82d23;hb=0f78250a538571df8a744993b9c6e7ec94ac8d85;hpb=f0c4f52c825e096dd4f833187376f403dc6ca5a5)

The pgsql backup method fixes solve a security issue (previous code did not check the permissions of .pgpass, in the case that already existed, before writing there the passwords) and enhance the robustness and features of the pgsql backup method in a couple of other areas. The last one is just a change on naming conventions, but it makes sense, especially if other database backends are going to be supported in the future.

Code has been tested on top of the 0.7.10.1 release, plus the patches for the next Debian version of the package (cf. http://anonscm.debian.org/gitweb/?p=collab-maint/backup-manager.git;a=log;h=refs/heads/build). For the pgsql method, I have broken the original debian patch to four subpatches with equivalent results, in order to ease the review.

Georgios M. Zarkadas added 5 commits December 25, 2011 01:26
Previously, while 'make -C po' was changing the ./po/ source tree,
'make -C po clean' did not restore it, thus leaving the source tree
changed after the build. This incurred burden (and inellegance) to
the build process of downstream distribution packagers. This commit
fixes the issue.
The commit ensures that .pgpass has the proper permissions before
any passwords are written inside. It also restores the backup only
if it was actually used.
breaking backup-manager on a broken postgresql installation.
@kissifrot
Copy link
Collaborator

Thanks!
I'll review it ASAP ;)

Can you do it for the devel branch? It's the one which is preferred for a later release.

@gzarkadas
Copy link
Author

Στις 25-12-2011, ημέρα Κυρ, και ώρα 04:01 -0800, ο/η Philippe Villiers
έγραψε:

Thanks!
I'll review it ASAP ;)

Can you do it for the devel branch? It's the one which is preferred for a later release.


Reply to this email directly or view it on GitHub:
#16 (comment)
Ok, I' ll start working on it.

kissifrot added a commit that referenced this pull request Dec 26, 2011
Fixes for gettext make process and postgresql database backup method
@kissifrot kissifrot merged commit 22e8e38 into sukria:master Dec 26, 2011
kissifrot added a commit that referenced this pull request Dec 26, 2011
Devel: Commits of pull request #16
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.

None yet

2 participants