lp:pacman-pm

Created by Thomas Karl Pietrowski on 2014-01-14 and last modified on 2019-01-14
Get this branch:
bzr branch lp:pacman-pm

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thomas Karl Pietrowski
Project:
pacman
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://projects.archlinux.org/pacman.git.

The next import is scheduled to run in 5 hours.

Last successful import was 37 minutes ago.

Import started 37 minutes ago on alnitak and finished 37 minutes ago taking 25 seconds — see the log
Import started 6 hours ago on izar and finished 6 hours ago taking 25 seconds — see the log
Import started 12 hours ago on alnitak and finished 12 hours ago taking 20 seconds — see the log
Import started 18 hours ago on alnitak and finished 18 hours ago taking 20 seconds — see the log
Import started on 2019-01-19 on izar and finished on 2019-01-19 taking 20 seconds — see the log
Import started on 2019-01-19 on alnitak and finished on 2019-01-19 taking 25 seconds — see the log
Import started on 2019-01-19 on izar and finished on 2019-01-19 taking 20 seconds — see the log
Import started on 2019-01-19 on alnitak and finished on 2019-01-19 taking 20 seconds — see the log
Import started on 2019-01-18 on izar and finished on 2019-01-18 taking 20 seconds — see the log
Import started on 2019-01-18 on alnitak and finished on 2019-01-18 taking 20 seconds — see the log

Recent revisions

5517. By Eli Schwartz <email address hidden> on 2019-01-14

update a bunch of links for https and to adapt to changing domains

projects.archlinux.org and mailman.archlinux.org are both migrated to
new domains.

Transifex supports https, so encourage its use by default.

Take advantage of the opportunity when updating these links, to also
delist some projects that are dead.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5516. By Eli Schwartz <email address hidden> on 2019-01-14

doc: add a couple missing manpages from the html index

The index embeds the names of all doc subpages, and these were never
updated.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5515. By Eli Schwartz <email address hidden> on 2019-01-14

doc: keep manpages and html pages in sync

We forgot to add BUILDINFO to the list of html docs. Instead of always
updating things in two places, just derive the one from the other.

meson did not have this problem as it already derives both lists from
one template.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5514. By Eli Schwartz <email address hidden> on 2019-01-14

meson: fix regression that broke building libmakepkg

In commit f7efa6a93d5361af610827d41045d87c7a72f2b5 we added a new file,
and also wired it up to the build systems, but it got added under the
wrong name in meson.build

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5513. By Eli Schwartz <email address hidden> on 2019-01-10

makepkg: return E_PKGBUILD_ERROR for nonexistent PKGBUILD

This is not really an error with a "user function".

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5512. By Eli Schwartz <email address hidden> on 2019-01-10

libmakepkg: simplify splitting command output into array

Use mapfile instead of hacking around read -a with the $IFS.

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5511. By Eli Schwartz <email address hidden> on 2019-01-10

libmakepkg: add routine for linting $SOURCE_DATE_EPOCH

This can only ever be an int, and the specification states that a
malformed timestamp should be considered a fatal error.

https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5510. By Eli Schwartz <email address hidden> on 2019-01-10

makepkg: fix unguarded use of printf

paths can contain printf-unsafe chars, and printf -v is not somehow immune to this

Signed-off-by: Eli Schwartz <email address hidden>
Signed-off-by: Allan McRae <email address hidden>

5509. By Luke Shumaker <email address hidden> on 2019-01-10

makepkg: check_pkgrel: Don't say "decimal" in the error message

If you have a malformed pkgrel, the error message says that it must be a
"decimal". That isn't quite true, as that would mean that `1.1 == 1.10`.

Signed-off-by: Allan McRae <email address hidden>

5508. By Luke Shumaker <email address hidden> on 2019-01-10

makepkg: Better error messages for versions in (check, make, opt)depends/provides/conflicts

Given the depends

    depends=('foo>=1.2-1.par2')

and the error message

    ==> ERROR: pkgver in depends is not allowed to contain colons, forward slashes, hyphens or whitespace.

One would be lead to believe that the problem is that they gave a pkgrel in
depends at all, not that the pkgrel contains letters.

Each of the (check,make,opt)depends, conflicts, and provides linters use a
glob to trim off properly formed epoch an rel from the full version string,
and pass the remainder to check_pkgver(). This does a good job of
accepting/rejecting full versions, but doesn't do a good job of generating
good error messages when rejecting if it's because of the epoch or rel.

1. Factor out check_epoch() and check_pkgrel() from lint_epoch() and
   lint_pkgrel(), similarly to check_pkgver().
2. Add a check_fullpkgver() that takes a full [epoch:]ver[-rel] string and
   splits it in to epoch/ver/rel, and calls the appropriate check_ function
   on each.
3. Use check_fullpkgver() in the {,check,make,opt}depends, conflicts, and
   provides linters.

Signed-off-by: Allan McRae <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.