On Mon, Apr 01, 2019 at 02:57:31PM +1000, Allan McRae
wrote:
> > "TODO bikeshed the separator"
> >
> > We're in the rather unfortunate position that neither of our database
> > formats can handle multiple arbitrary filenames on a single line
> > without escaping. We can use -> in PKGBUILDs if
On 08.07.2018 02:07, Dave Reisner wrote:
> I think the answer is ideally that we have no make no changes at all to
> our tests. We could do all of the work in the build system alone -- use
> a harness to wrap each test and parse the TAP output.
You could also use perl's `prove` to run the tests.
That subject is way too long. Please keep it around 50 chars if at all
possible and put the more detailed explanation in the commit body. In
this case it's probably best to simply end the subject at the first comma.
Florian
signature.asc
Description: OpenPGP digital signature
On 16.09.2017 22:21, Nils Freydank wrote:
> [...]
>
> (Feedback is very appreciated / this is an updated patch.)
This line shouldn't be part of the commit. You can add it after the
"---" marker (see below) when you use `git send-email --annotate` or if
you save the patch with `git format-patch`
On 15.09.2017 20:30, ivy.fos...@gmail.com wrote:
> - error "$(gettext "Do not use the %s option. This option is only
> for use by %s.")" "'-F'" "makepkg"
> + error "$(gettext "Do not use the %s option. This option is only
> for internal use by %s.")" "'-F'" "makepkg"
On 02.11.2016 02:31, Allan McRae wrote:
> On 02/11/16 09:56, Travis Burtrum wrote:
>> On November 1, 2016 7:28:07 PM EDT, Allan McRae wrote:
>> Server = http://foo/ key=value key2=val2
>>
> Any other opinions?
Sounds fine since spaces in the URL can/have to be escaped. I'm
On 07.10.2016 03:52, Alad Wenter wrote:
> The idea would be that each warning, if applicable, is addressed in a
> separate patch.
Good idea. If a warning appears multiple times and requires different
ways of dealing with it in certain situations, please split that into
multiple patches. It
On 25.09.2016 11:22, Allan McRae wrote:
> The configure script will now error if at least one
> library supporting checksum generation is not present
How about getting rid of that double negation? Better: "The configure
script will now error if no library supporting checksums is present".
"at
On Saturday, August 20, 2016 10:54:55 AM CEST Andrew Gregory wrote:
> > If Andrew signs off on this I'll squash it my branch.
>
> Yes, this looks correct. The 'next' in the first branch is redundant
> now, though.
Right, thanks. I've rebased the patches on my working branch now.
@Allan: Feel
Makefile.am is mostly copied from ./doc/Makefile.am
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
v2:
- Move actual documentation to dedicated commit
configure.ac | 1 +
contrib/Makefile.am | 6 ++
contrib/doc/Makefile.am
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
v2:
- new commit
contrib/doc/.gitignore | 1 +
contrib/doc/Makefile.am | 5 ++-
contrib/doc/verify-pacman-repo-db.1.txt | 60 +
3 files changed, 65 insertions(+), 1 de
On 07.08.2016 08:28, Allan McRae wrote:
> A commit message would be nice...
Would a copy of the manpage description be fine or do you have something
else in mind?
> Is there any reason PGP checksums are not checked?
I don't see a mention of checksum-only verification in the gpg manpage
so I'll
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
contrib/doc/verify-pacman-repo-db.1.txt | 50 ++
contrib/verify-pacman-repo-db.pl| 279
2 files changed, 329 insertions(+)
create mode 100644 contrib/doc/verify-pacman-repo-db.1.txt
creat
Makefile.am is mostly copied from ./doc/Makefile.am
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
configure.ac | 1 +
contrib/Makefile.am | 6 +
contrib/doc/.gitignore| 1 +
contrib/doc/Makefile.am
On 13.06.2016 22:07, Alastair Hughes wrote:
>> I really don't want to provide a binary just to do this.
>
> I'm cross compiling; in that case, the host system has a different du
> than the target system
How about implementing the functionality in something like awk or perl?
Those should be
On 05.06.2016 19:37, Tobias Stoeckmann wrote:
> diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
> index c9ed770..055fb1e 100644
> --- a/lib/libalpm/be_package.c
> +++ b/lib/libalpm/be_package.c
> @@ -700,17 +700,16 @@ static int read_sigfile(const char *sigpath, unsigned
> char
On 26.03.2016 12:00, Allan McRae wrote:
> It gets updated when I remember... The main problem here being I can
> never remember where to upload it to.
Write a script or add it to the makefile?
Florian
signature.asc
Description: OpenPGP digital signature
On 02.02.2016 02:44, Allan McRae wrote:
> These options were added before libmakepkg allowed passes like this to be
> dropped in. I prefer only real core packaging tasks to be included in
> makepkg and additional things like this to be dropped in by a user or
> distribution that wants to support
ing example-1.2.4.tar.gz
New:
==> ERROR: Failure while downloading
http://example.org/releases/1.1/example-1.2.4.tar.gz
With the new format it is much more obvious that the directory name is
the culprint (1.1 vs 1.2) while the old one would not display that
information.
Signed-off-by: Florian
On Mon, 7 Dec 2015 21:37:09 +0100 Dominik Fischer
wrote:
> This behavior may be intended though. If so, this corner case should
> perhaps be noted in the documentation. Please review and comment.
Actually that is exactly what some of our packages want to do so I'd
consider it
On Sun, 29 Nov 2015 13:14:46 +0100 Constantin Weißer
wrote:
> version1 uses a fixed 100 columns output, version2 a fixed 80 columns
> output.
Why do you force it to be 80 chars wide? How about simply limiting it
to 80 chars?
> -> [254.5 MiB] ↓7.49M/s 01:00
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
v4:
- Mention that onyl sync dbs are searched
- Add --quiet
doc/pacman.8.txt | 29 +
1 file changed, 29 insertions(+)
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 18303c3..838b70b 100644
---
On Fri, 30 Oct 2015 13:59:53 -0400 Andrew Gregory
wrote:
> Aside from a few style nitpicks, the code looks fine. I am curious as
> to the motivation for this though. Most of our operations are made
> easier to parse by using --quiet to reduce the output to a single
>
On Wed, 28 Oct 2015 13:17:27 +1000 Allan McRae
wrote:
> > +The '--list', '--search' and '--owns' options are exclusive and can not be
> > combined.
>
> I first read that as --list can not be combined with anything else (e.g.
> --refresh). I also note that we do not do
On Sun, 25 Oct 2015 14:14:49 -0400 Andrew Gregory
<andrew.gregor...@gmail.com> wrote:
> On 10/25/15 at 05:07pm, Florian Pritz wrote:
> > Signed-off-by: Florian Pritz <bluew...@xinu.at>
> > ---
> >
> > v2:
> > - Always output paths without lea
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
v3:
- Change output format to use \0 as field separator.
- Only output one repo for -Fl
- Combine else if
- Fix incorrect placement of FREELIST(match)
doc/pacman.8.txt| 5 +
src/pacman/conf.h | 2 ++
src/pacman/files.c
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
doc/pacman.8.txt | 22 ++
1 file changed, 22 insertions(+)
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 5c57450..a4dd1f0 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -110,6 +110,11 @@ greater than
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
v2:
- Always output paths without leading slash
doc/pacman.8.txt| 4
src/pacman/conf.h | 2 ++
src/pacman/files.c | 69 ++---
src/pacman/pacman.c | 6 +
4 files chang
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
v2:
- Document --refresh
doc/pacman.8.txt | 26 ++
1 file changed, 26 insertions(+)
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 5c57450..38b8bb7 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman
Signed-off-by: Florian Pritz <bluew...@xinu.at>
---
doc/pacman.8.txt| 4 +++
src/pacman/conf.h | 2 ++
src/pacman/files.c | 70 ++---
src/pacman/pacman.c | 6 +
4 files changed, 63 insertions(+), 19 deletions(-)
diff --git
On Sat, 17 Oct 2015 10:06:07 +0200 Florian Pritz <bluew...@xinu.at>
wrote:
> On Sat, 20 Jun 2015 12:39:17 +0200 Florian Pritz <bluew...@xinu.at>
> wrote:
> > As discussed on IRC I'll work on a -m switch that outputs an easy to
> > parse format ($repo/$pkgname $p
On Sat, 20 Jun 2015 12:39:17 +0200 Florian Pritz <bluew...@xinu.at>
wrote:
> As discussed on IRC I'll work on a -m switch that outputs an easy to
> parse format ($repo/$pkgname $pkgver: $file) once the patches are
> reviewed and merged.
I'm working on this now and I've noticed
On 08.08.2015 07:55, Folatt wrote:
But the FTP seems broken. I get a 404 message.
Please never ever just say it's broken. Always provide as much
information as you can, in this case the URL you are trying to download
from and where you found that URL.
signature.asc
Description: OpenPGP
On Mon, 27 Jul 2015 10:53:59 +0200 Jonas Große Sundrup
jonas-...@letopolis.de wrote:
You could solve it by configuring sudo to use the user's password for
maintenance, but I simply prefer using the root-password for system
related stuff
sudo can be configured to ask for the target's password
On 20.06.2015 09:31, Allan McRae wrote:
I see that the output is similar to -Ql and -Qo, but I think it's still
better to use a more verbose and easier to parse (e.g. `cut -d\ -f 2-`)
format. Especially with regard to the possibility of a package being in
multiple repositories which can't
On 18.06.2015 14:46, Allan McRae wrote:
$ pacman -Fl abs
abs /etc/
abs /etc/abs.conf
Does this come with -q to disable the prepended package name in the output?
What happens if the package exists in multiple repos? Will I get the
list of only one of them or all of them?
Can I use -Fl
On 09.06.2015 07:34, Allan McRae wrote:
I see it being reasonable to use the same template twice in a package
(e.g. in split package_*() functions). So this needs detected only
during recursion.
I'm pretty sure I totally ignored the problem of endless recursion when
writing the script and I
On 08.06.2015 11:28, Dominik Fischer wrote:
When templates recursively include other templates, a diamond problem,
similar to multiple inheritance, may occur. It is illustrated in the
test case. As templates may consist of arbitrary code, it may be
unwanted to execute a template twice. This
On 03.06.2015 11:04, Wieland Hoffmann wrote:
The old text could be interpreted such that makepkg-template compares
the version numbers of the templates to find the most recent
one. Rephrase this to make it explicit that $template_name.template is
used.
Signed-off-by: Florian Pritz bluew
, the last one always takes precedence.
Neither the default behaviour without the option given, nor the handling
of a single template dir is changed.
Signed-off-by: Dominik Fischer d.f.fisc...@web.de
Signed-off-by: Florian Pritz bluew...@xinu.at
Also pulled into my working branch for easy
On 23.04.2015 13:59, Dominik Fischer wrote:
diff --git a/scripts/makepkg-template.pl.in b/scripts/makepkg-template.pl.in
index 71d2aae..49e0e37 100755
--- a/scripts/makepkg-template.pl.in
+++ b/scripts/makepkg-template.pl.in
@@ -98,26 +98,32 @@ sub load_template {
my $ret = ;
-
On 22.04.2015 20:37, Dominik Fischer wrote:
Especially when maintaining local templates in addition to the ones
stored in /usr/share/makepkg-template, it can be useful to include
templates stored in multiple different locations into one PKGBUILD. This
patch makes this possible by allowing
On 13.04.2015 21:33, David Macek wrote:
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 20130dc..f30698e 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -241,20 +241,27 @@ int SYMEXPORT alpm_db_update(int force, alpm_db_t *db)
On 21.03.2015 01:23, Ivy Foster wrote:
On 20 Mar 2015, at 9:29 pm +0100, Florian Pritz wrote:
From: Ivy Foster joyfulg...@archlinux.us
I'm not really sure why that is here. Did you set the envelope sender in
git (git config --global sendemail.envelopesender) or am I missing some
From: Ivy Foster joyfulg...@archlinux.us
I'm not really sure why that is here. Did you set the envelope sender in
git (git config --global sendemail.envelopesender) or am I missing some
difference between the two addresses?
New contributor - yay!
[patch]
[notes]
Thanks! I'll fix it up
On 08.02.2015 23:24, Maxim Andersson wrote:
Cleaner to have -q,--quiet than /dev/null in cron.
You should look into using chronic from moreutils. It captures
stdout/stderr and only outputs them again if the exit code != 0 (which I
hope holds for paccache if it encounters errors).
You really
On 22.01.2015 09:36, Christian Hesse wrote:
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1918,6 +1918,17 @@ tidy_install() {
fi
done
fi
+
+ if check_option optipng y; then
+ msg2 $(gettext Optimizing PNG images...)
On 20.01.2015 19:26, Robin de Rooij wrote:
From 749dde01efdde4c69491c36c1244a112de54ce52 Mon Sep 17 00:00:00 2001
From: Robin de Rooij rderooij...@famousgoglemailhoster.com
Date: Fri, 16 Jan 2015 22:36:00 +0100
Subject: [PATCH] Changed copyright to 2006 - 2015 in version info
Please use
autotools dislikes having symlinks in the tarball so create those
during testing. Also fix the value of PMTEST_SCRIPT_DIR to actually
point to the correct dir in the distcheck case (different build dir).
Signed-off-by: Florian Pritz bluew...@xinu.at
---
Makefile.am
On 08.01.2015 23:18, David Macek wrote:
I'm posting this on behalf of an MSYS2 user.
I appreciate you trying to send patches upstream, but you'll likely get
more/better responses if you send the patch with git-send-email so it's
easy to review/comment on. Also it's probably better if the author
On 29.12.2014 04:50, Andrew Gregory wrote:
diff --git a/test/scripts/makepkg-template_test.sh
b/test/scripts/makepkg-template_test.sh
new file mode 100755
index 000..60cbb0c
--- /dev/null
+++ b/test/scripts/makepkg-template_test.sh
@@ -0,0 +1,56 @@
+#!/bin/bash
+
+source $(dirname
On 29.12.2014 08:45, Christian Hesse wrote:
From: Christian Hesse m...@eworm.de
Programs linked against libalpm (for example packagekit) may want to use
preprocessor macros to check version and choose correct API. This adds
version information to alpm.h.
Signed-off-by: Christian Hesse
die prints at $scriptname line $linenumber. if the string does not
end with \n. This information is not of much use for us and it makes
testing harder because we'd to remove it there.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
scripts/makepkg-template.pl.in | 4 ++--
1 file changed, 2
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../invalid-template-line-missing-name/PKGBUILD | 1 +
.../invalid-template-line-missing-name/testcase-config| 11 +++
2 files changed, 12 insertions(+)
create mode 100644
test/scripts/makepkg-template-tests
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../invalid-template-line-unknown-marker/PKGBUILD | 9 +
.../invalid-template-line-unknown-marker/testcase-config | 11 +++
2 files changed, 20 insertions(+)
create mode 100644
test/scripts/makepkg-template
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../makepkg-template-tests/template-without-version/PKGBUILD | 8
.../templates/template-without_version.template | 0
.../template-without-version/testcase-config | 9 +
3 files changed
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../makepkg-template-tests/name-charset-invalid/PKGBUILD | 8
.../name-charset-invalid/testcase-config | 10 ++
2 files changed, 18 insertions(+)
create mode 100644
test/scripts/makepkg-template
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../keep-old-version/PKGBUILD | 15 ++
.../templates/perl-bla-1.2.template| 1 +
.../keep-old-version/templates/perl-bla.template | 1 +
.../templates/perl-module-1.0.template | 6
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../update-version-with-newest-option/PKGBUILD | 7 +++
.../templates/perl-bla-1.2.template| 1 +
.../templates/perl-bla.template| 1 +
.../templates/perl-module-1.0.template | 6
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v5:
- remove wrong comment
- look for the executable in PATH
- exit after tap_bail
Makefile.am| 2 +
test/scripts/Makefile.am | 1 +
.../testcase-config-template
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v3:
+ suggested by Andrew
- take the executable as $1 rather than just the dir
- force C locale
- use $testdir when normalizing paths
- fix output line of successful testcase
- remove useless begin comment
+ replace $testdir more than
I'm pretty sure this is some kind of left over stuff that was supposed
to print the filename, linenumber and line content. This is already
done so just remove it.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
scripts/makepkg-template.pl.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../invalid-template-line-unknown-marker/PKGBUILD| 9 +
.../invalid-template-line-unknown-marker/expected_output | 3 +++
2 files changed, 12 insertions(+)
create mode 100644
test/scripts/makepkg-template-tests
Signed-off-by: Florian Pritz bluew...@xinu.at
---
Makefile.am| 2 +
test/scripts/Makefile.am | 1 +
test/scripts/makepkg-template-tests/.gitignore | 3 +
test/scripts/makepkg-template_test.sh | 86 ++
4
Signed-off-by: Florian Pritz bluew...@xinu.at
---
test/scripts/makepkg-template-tests/missing-template-file/PKGBUILD | 7 +++
.../makepkg-template-tests/missing-template-file/expected_output | 2 ++
.../missing-template-file/templates/perl-module.template | 1 +
3 files changed
Signed-off-by: Florian Pritz bluew...@xinu.at
---
test/scripts/makepkg-template-tests/name-charset-valid/PKGBUILD | 8
.../makepkg-template-tests/name-charset-valid/expected_output | 1 +
.../makepkg-template-tests/name-charset-valid/expected_result | 8
.../name
Signed-off-by: Florian Pritz bluew...@xinu.at
---
test/scripts/makepkg-template-tests/name-charset-invalid/PKGBUILD | 8
.../makepkg-template-tests/name-charset-invalid/expected_output | 3 +++
2 files changed, 11 insertions(+)
create mode 100644
test/scripts/makepkg-template-tests
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../makepkg-template-tests/missing-template-symlink/PKGBUILD | 7 +++
.../missing-template-symlink/expected_output | 2 ++
.../missing-template-symlink/templates/perl-module-1.0.template| 1 +
3 files changed
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../makepkg-template-tests/template-without-version/PKGBUILD | 8
.../template-without-version/expected_output | 2 ++
.../templates/template-without_version.template | 0
3 files changed, 10
Signed-off-by: Florian Pritz bluew...@xinu.at
---
test/scripts/makepkg-template-tests/invalid-key/PKGBUILD| 1 +
test/scripts/makepkg-template-tests/invalid-key/expected_output | 3 +++
2 files changed, 4 insertions(+)
create mode 100644 test/scripts/makepkg-template-tests/invalid-key
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../makepkg-template-tests/keep-old-version/PKGBUILD | 15 +++
.../keep-old-version/expected_output | 1 +
.../keep-old-version/expected_result | 15 +++
.../keep-old-version
Signed-off-by: Florian Pritz bluew...@xinu.at
---
.../update-version-with-newest-option/PKGBUILD | 7 +++
.../update-version-with-newest-option/arguments | 1 +
.../update-version-with-newest-option/expected_output| 1 +
.../update-version-with-newest-option
On 21.12.2014 16:11, Florian Pritz wrote:
+ $scriptdir/makepkg-template \
+ --template-dir $testdir/$testcase/templates \
+ -p $testdir/$testcase/PKGBUILD \
+ -o $testdir/$testcase/result \
+ $testdir/$testcase/output_full ${arguments
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v2:
- use a temp dir for output files
- mark the exit code in the expected_output file with exitcode:
(tests are adjusted on my working branch)
Makefile.am | 2 +
test/scripts/Makefile.am | 1
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v2:
Also add it to -U in zsh. Only issue I see is that it completes a package name
if you complete --assume-installed tab which doesn't make a whole lot of
sense.
contrib/bash_completion.in | 6 +++---
contrib/zsh_completion.in | 3 +++
2 files
Signed-off-by: Florian Pritz bluew...@xinu.at
---
I tested the zsh completion, didn't test bash.
contrib/bash_completion.in | 6 +++---
contrib/zsh_completion.in | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index
On 28.10.2014 03:44, Eric Schultz wrote:
declare -a cachedirs=() candidates=() cmdopts=() whitelist=() blacklist=()
-declare -i delete=0 dryrun=0 filecount=0 move=0 needsroot=0 totalsaved=0
verbose=0
+declare -i delete=0 dryrun=0 filecount=0 move=0 needsroot=0 noneisok=0
totalsaved=0
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v4:
- Change alpm_splitdep to alpm_dep_from_depstring
- Group the functions with alpm_dep_compute_string (in alpm.h)
- Add documentation to the functions (in alpm.h)
lib/libalpm/alpm.h | 11 +++
lib/libalpm/be_local.c | 2
This allows to reuse the provision checker for a simple list of
provisions without a package.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v4:
- Incorporate suggestions from Andrew
lib/libalpm/deps.c | 21 ++---
lib/libalpm/deps.h | 1 +
2 files changed, 15 insertions
This allows to ignore specific dependencies.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v4:
- Incorporate suggestions from Andrew
- Return 1 if alpm_dep_from_depstring fails since this can only happen
because of memory problems which already generate an error message. I hope
v3:
- Change the option name to --assume-installed
- Add manpage
- Make the API consistent by passing around alpm_depend_t only, no char*
- returning a char* list in *_get_* would require either saving it
(bad) or creating it on request which would require the user to
free it (bad
This allows to ignore specific dependencies.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
doc/pacman.8.txt | 6 +++
lib/libalpm/alpm.h | 11 +
lib/libalpm/deps.c | 8 +++-
lib/libalpm/handle.c | 79
This allows to reuse the provision checker for a simple list of
provisions without a package.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v3: no changes here
lib/libalpm/deps.c | 27 +++
lib/libalpm/deps.h | 1 +
2 files changed, 20 insertions(+), 8 deletions
Signed-off-by: Florian Pritz bluew...@xinu.at
---
I'm not sure where in alpm.g the functions should be, open to suggestions.
lib/libalpm/alpm.h | 2 ++
lib/libalpm/be_local.c | 2 +-
lib/libalpm/be_package.c | 10 +-
lib/libalpm/be_sync.c| 2 +-
lib/libalpm/deps.c
v2:
- Use _alpm_splitdep rather than implementing it myself (thanks to Andrew for
the idea)
I'd love feedback on the idea/implementation (preferably from Allan) and also
general feedback on this try at documenting it (in man pacman):
--ignore-depends provider=version,...
Make pacman
This allows to reuse the provision checker for a simple list of
provisions without a package.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
lib/libalpm/deps.c | 27 +++
lib/libalpm/deps.h | 1 +
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/lib
This allows to ignore specific dependencies.
TODO: documentation
Signed-off-by: Florian Pritz bluew...@xinu.at
---
lib/libalpm/alpm.h | 11
lib/libalpm/deps.c | 8 --
lib/libalpm/handle.c | 62 ++
lib
On 13.07.2014 09:27, Allan McRae wrote:
On 22/06/14 23:32, Florian Pritz wrote:
So this is the process now:
pacman -Syu- perl version dependency error
pacman -Sd perl
pacman -Su
and this will change to:
pacman -Syu- perl version dependency error
pacman -Su --ignore-depends
This allows to ignore specific dependencies.
TODO: documentation
Signed-off-by: Florian Pritz bluew...@xinu.at
---
This patch is still missing documentation as noted in the commit message, but
apart from that it works (at least alpm_option_set_ignoredeps(), didn't test
_remove_).
Now that I
Hi,
I'm thinking about having perl packages depend on a more specific perl
version (like a provided perl-5.20 instead of simply perl), but that
brings the same issues we currently have with kernel modules. Everything
that's not in the repos will prevent a clean upgrade because it depends
on the
This test currently fails.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
v2:
- changed filename
- renamed packages in the testcase to more generic ones (I don't
like provides as a provided package name so I chose feature)
- expectfailure = True
- add to TESTS
test/pacman/tests/TESTS
This test currently fails.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
test/pacman/tests/sync-perl520-breakage.py | 21 +
1 file changed, 21 insertions(+)
create mode 100644 test/pacman/tests/sync-perl520-breakage.py
diff --git a/test/pacman/tests/sync-perl520
Old output:
Total Installed Size: -1527.44 MiB
Fixed:
Total Installed Size: 2568.56 MiB
Bug introduced in 7b8f8753b15037bf4a88126ffde8195416432c72.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
src/pacman/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src
On 26.03.2014 21:14, Andrew Hills wrote:
Please find below the third iteration of the patch, now using the new
alpm_option_set methods, and with more descriptive documenting comments.
From 9272595b5207e07799dfd49bac9d27b699253297 Mon Sep 17 00:00:00 2001
From: Andrew Hills ahi...@ednos.net
On 05.03.2014 17:22, Pierre Neidhardt wrote:
$ pacman -Qi linux | grep Installed
[0][1078]
Installed Size : 67.12 MiB
This is actually something I've been wondering for a while: how do you change
the size unit?
They are hard coded for a few
The patch subject could be a little better. Try to always use the
present tense (Add instead of added) and capitalize the first word to
stay in line with tools like git merge and revert. Also present tense is
shorter in most cases.
Also use an instead of a before vowel sounds.
Not too big of a
On 10.02.2014 09:54, Florian Pritz wrote:
+ _alpm_log(db-handle, ALPM_LOG_DEBUG,
allocating %ld\n, (files_size ? files_size + 1 : 8 * sizeof(alpm_file_t)));
Debug output removed in my working branch.
signature.asc
Description: OpenPGP digital signature
I hope I incorporated all suggestions. Most patches didn't change,
but I'm submitting them anyway for an easier (hopefully final) review.
Signed-off-by: Florian Pritz bluew...@xinu.at
---
lib/libalpm/be_local.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 0b5b266..d2b0fe3 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
This greatly speeds up file list generation times by avoiding
uncompressing the whole package.
pacman -S base with a deliberate file conflict:
before: 9.1 seconds
after: 2.2 seconds
Signed-off-by: Florian Pritz bluew...@xinu.at
---
lib/libalpm/be_package.c | 149
1 - 100 of 288 matches
Mail list logo