summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* libalpm: Fix a missing "nicht" (not) in German translation.Thomas Bächler2011-01-28
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Enable failure on server error for curl download commandDan McGee2011-01-28
| | | | | | | | This will make a 404 a silent failure that returns an error code rather than 0 as was previously done, screwing up the logic used by pacman/libalpm to allow moving onto the next server on a failed download. Fixes FS#22630. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update 3.4.3 release dateDan McGee2011-01-22
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Copy new backend translation over from frontend translationDan McGee2011-01-21
| | | | | | | | | | | | | | | | Since it is the same string. Done with some bash looping and sed magic. for src in po/*.po; do echo $src newtrans=$(grep -A1 "msgid.*$1" $src | tail -n1) newtrans=${newtrans//\\/\\\\} echo "$newtrans" fname=${src##*/} dest=lib/libalpm/po/$fname sed -i -e "/msgid.*$1/{N; s/msgstr.*$/$newtrans/}" $dest done Signed-off-by: Dan McGee <dan@archlinux.org>
* 3.4.3 release preparationDan McGee2011-01-21
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix double read issue in maint releasesDan McGee2011-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is essentially a backport/cherry-pick of commit 33240e87b99e from master, but has to be done by hand because the DB format has diverged. Read more in the commit message used there, which follows. Due to the way we funk around with package data loading, we had a condition where the filelist got doubled up because it was loaded twice. Packages are originally loaded with INFRQ_BASE. In an upgrade/sync, the package is checked for file conflicts next, leaving us in an "INFRQ_BASE | INFRQ_FILES" state. Later, when committing a single package, we have an explicit call to _alpm_local_db_read() with INFRQ_ALL as the level. Because the package's level did not match this, we skipped over our previous "does the incoming level match where I'm at" shortcut, and continued to load things again, because of a lack of fine-grained checking for each of DESC, FILES, and INSTALL. The end result is we loaded the filelist twice, causing our remove logic to iterate twice over the installed files, spewing a bunch of "cannot find file X" messages. Fix the problem by doing a bit more bitmasking logic throughout the load method, and also fix the sanity check at the beginning of the function- this should *only* be used for local packages as opposed to the "not a package" check that was there before. Signed-off-by: Dan McGee <dan@archlinux.org>
* pactest: build the filelist using a set()Dan McGee2011-01-12
| | | | | | | | | This will prevent duplicates, which we had plenty of once I made a few tests that had a list of files greater than the normal two. The previous logic was not working quite right. Signed-off-by: Dan McGee <dan@archlinux.org> (cherry picked from commit 0d4dd09993971924d379be4d0944d72f4c77b021)
* Make debug config messages consistent in capitalizationDan McGee2011-01-11
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Back out anticipated epoch changesDan McGee2011-01-11
| | | | | | | | | After all the debate as to what to do on maint, we are going to end up just incorporating epoch into the version string, so we don't need this separate field at all. Revert commit 5c8083baa4a and also kill the force flag we were recording here as well. Signed-off-by: Dan McGee <dan@archlinux.org>
* Respect Ignore{Pkg,Group} for group membersJakob Gruber2010-12-30
| | | | | | Fixes FS#19854. Signed-off-by: Dan McGee <dan@archlinux.org>
* Move group code to separate functionJakob Gruber2010-12-30
| | | | | | | This makes the following commits more readable. No logic was changed in this commit. Signed-off-by: Dan McGee <dan@archlinux.org>
* Tests: Sync group which includes ignored pkgsJakob Gruber2010-12-30
| | | | | | | | | | | | | | | | | * FS#19854 (--ignore is ignored with groups) * http://www.archlinux.org/pipermail/pacman-dev/2009-June/008847.html (operation aborts when a package from a group is ignored/and user chooses not to install it) If a group member is ignored, we expect a) a question whether to install b) after saying 'no' to a), the ignored member not to be installed c) all other group members to be installed d) pacman to execute successfully Signed-off-by: Dan McGee <dan@archlinux.org> (cherry picked from commit 9d0b33fd3327ae6d2b15f50870c0885a2068d492)
* doc: add website zip to clean filesDan McGee2010-12-29
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Various documentation updatesDan McGee2010-12-29
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* doc/PKGBUILD: document that functions run in -e modeDan McGee2010-12-13
| | | | | | | Caught this noted on the forums, but it is definitely worth a note in the manpage as well. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix manpage wrap not at 80 charactersDan McGee2010-12-13
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update news and bump versionsDan McGee2010-12-12
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* be_files: write EPOCH instead of FORCEXavier Chantry2010-12-12
| | | | | | | | | | | | This patch is only meant for 3.4.x. It prepares the place for the future epoch-aware release. All force packages that get reinstalled or upgraded will get an EPOCH entry in the local database, and thus the new pacman with epoch won't reinstall them by mistake on the first -Su. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix possible null pointer deref in check_archDan McGee2010-12-10
| | | | | | | | | | | If we have a corrupted database, a package can come through without an arch, causing the code to blow up when making strcmp() calls. It might even be possible with perfectly valid database entries lacking an 'arch =' line. This behavior was seen as at least one of the problems in FS#21668. Ensure pkgarch is not null before doing anything further. Signed-off-by: Dan McGee <dan@archlinux.org>
* Small update to Russian translationSergey Tereschenko2010-11-08
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add initial 3.4.2 NEWS draftDan McGee2010-10-28
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Swedish translationTobias Eriksson2010-10-28
| | | | | | | | 442 translated strings, no fuzzies, no untranslated. modified: po/sv.po Signed-off-by: Dan McGee <dan@archlinux.org>
* PKGBUILD.vim: add special licenses BSD MIT ZLIB PythonXavier Chantry2010-10-28
| | | | | Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Small updates to Spanish translationRicardo Pérez2010-10-28
| | | | | | Also addresses FS#21373. Signed-off-by: Dan McGee <dan@archlinux.org>
* alpm/sync: very small memleak fixXavier Chantry2010-10-18
| | | | | Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* libalpm/remove: fix funny progress bar problem with empty packagesXavier Chantry2010-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ pacman -Rd kde-meta Remove (15): kde-meta-kdewebdev-4.5-1 [0.00 MB] kde-meta-kdeutils-4.5-1 [0.00 MB] kde-meta-kdetoys-4.5-1 [0.00 MB] kde-meta-kdesdk-4.5-1 [0.00 MB] kde-meta-kdeplasma-addons-4.5-1 [0.00 MB] kde-meta-kdepim-4.5-1 [0.00 MB] kde-meta-kdenetwork-4.5-1 [0.00 MB] kde-meta-kdemultimedia-4.5-1 [0.00 MB] kde-meta-kdegraphics-4.5-1 [0.00 MB] kde-meta-kdegames-4.5-1 [0.00 MB] kde-meta-kdeedu-4.5-1 [0.00 MB] kde-meta-kdebase-4.5-1 [0.00 MB] kde-meta-kdeartwork-4.5-1 [0.00 MB] kde-meta-kdeadmin-4.5-1 [0.00 MB] kde-meta-kdeaccessibility-4.5-1 [0.00 MB] Total Removed Size: 0.06 MB Do you want to remove these packages? [Y/n] ( 1/15) removing kde-meta-kdewebdev [------------------------] 100% $ it stopped here.. On one side, libalpm did not initialize the progress bar at 0 percent. So with meta-packages that have 0 files, there was only one progress bar call with percent == 100. On the other side, pacman callback kept track of the last percent that it received. When there are only meta-packages, we always received only 100, so pacman believed the progress bar needed not update. Thus only the first package was actually displayed. A proper fix for the callback would be to keep track of last package name to make sure the recorded prev percent applies. But since we now specify that both Add and Remove should at least send percent=0 at beginning and percent=100 at the end, there is no need for that. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Read 'force' entry from packagesDan McGee2010-10-11
| | | | | | | | We weren't reading this in from our packages, thus causing us not to write it out to our local database. Adding this now will help ease the upgrade path for epoch later and not require reinstallation of all force packages. Signed-off-by: Dan McGee <dan@archlinux.org>
* Check for python-2.7Allan McRae2010-10-05
| | | | | | | | | Add python-2.7 to the list of checked versions of python and add a check for a python2 binary before resorting to the unversioned python binary. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Make testsuite python-2.7 compatibleRémy Oudompheng2010-10-05
| | | | | | | | | os.walk(".") adds a prefix of "./" to filenames in python-2.7 which causes libalpm not to like archives generated in the testsuite resulting in widespread failure. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* bacman: unify package creation with makepkgAllan McRae2010-09-15
| | | | | | | | | | | | | Currently bacman always compresses with gzip now matter what PKGEXT is set to. Rework the entire package creation process to be similar to that in makepkg. This also make the explicit assumption that PKGEXT is defined in makepkg.conf. Thanks to Nelson Chan <khcha.n.el@gmail.com> for the original patch to fix the incorrect package compression. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Portuguese translationGaspar Santos2010-09-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* PKGBUILD-example.txt: Remove superfluous "|| return 1".Lukas Fleischer2010-09-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Kazakh translationBaurzhan Muftakhidinov2010-09-15
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Minor translation file updates after `make distcheck`Dan McGee2010-09-03
| | | | | | | It touched up these a bit after it ran, so might as well check the changes in so we don't have to deal with them again later. Signed-off-by: Dan McGee <dan@archlinux.org>
* Retroactive additions to 3.4.1 changesDan McGee2010-09-03
| | | | | | Forgot to mention things involving the translation changes we had. Signed-off-by: Dan McGee <dan@archlinux.org>
* libalpm Swedish translation updateTobias Eriksson2010-09-03
| | | | | Signed-off by: Tobias Eriksson <tobier@tobier.se> Signed-off-by: Dan McGee <dan@archlinux.org>
* German translation updatesMatthias Gorissen2010-09-02
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Small fixes to Kazakh translationBaurzhan Muftakhidinov2010-09-01
|
* 3.4.1 version bumpDan McGee2010-09-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add new European Portuguese translationGaspar Santos2010-09-01
| | | | | | | | | | | This is being checked in as 'pt' rather than 'pt_PT' as that is what Transifex seems to want, and it is also the dominant choice of packages already installed on my system when doing a count of the files located in the /usr/share/locale translation directories. Thanks for the new translation! Signed-off-by: Dan McGee <dan@archlinux.org>
* Add dir missing from autoclean.shDan McGee2010-09-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* pactest: add shell to fake root environmentJonathan Conder2010-08-27
| | | | | | | Adds a shell to the fake root set up for pactests, which was not needed previously due to a bug (debian #582847) in fakechroot. Signed-off-by: Jonathan Conder <j@skurvy.no-ip.org>
* Update Chinese translation甘露(Gan Lu)2010-08-25
| | | | | | Submitted through Transifex on 2010-07-02. Signed-off-by: Dan McGee <dan@archlinux.org>
* PKGBUILD.5: document illegal variable contentsAndres P2010-08-23
| | | | | Signed-off-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
* Update translation files for 3.4.1 freezeDan McGee2010-08-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update NEWS for 3.4.1 releaseDan McGee2010-08-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add Slovak translationJozef Riha2010-08-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* repo-add: create relative DB symlinksDan McGee2010-08-18
| | | | | | | | | | As noted in FS#20498, if an absolute path is used for specifying the database when invoking repo-add, the symlink generated will point to the absolute path instead of being relative to the directory. Fix this for the two linking cases, but leave the copy untouched so that will still work. Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: add file to the list of needed utilitiesAllan McRae2010-08-18
| | | | | Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
* Updates for Polish translationsMateusz Herych2010-08-18
| | | | | Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>