Package Details: pkgfile-git 15.7.g7ace342-1

Git Clone URL: https://aur.archlinux.org/pkgfile-git.git (read-only)
Package Base: pkgfile-git
Description: a pacman .files metadata explorer
Upstream URL: http://github.com/falconindy/pkgfile
Licenses: MIT
Conflicts: nosr, pkgfile
Provides: nosr, pkgfile
Replaces: nosr-git
Submitter: falconindy
Maintainer: falconindy
Last Packager: falconindy
Votes: 37
Popularity: 0.749084
First Submitted: 2012-07-17 00:33
Last Updated: 2015-07-04 17:36

Required by (10)

Sources (1)

Latest Comments

Det commented on 2014-04-02 20:34

Still, the 's/-[^-]*$//' is cutting off the '.ge66d942' suffix, which is the whole point of a Git version.

Det commented on 2014-02-03 02:00

Wouldn't something like:

git describe --long | sed 's/^v//;s/-/./g'

be a more suitable Git version (12.0.g9bec39d)?

Gently commented on 2013-02-12 22:07

Here's the cron script that can be used. Can it be put in the package, possi bly `/usr/share/doc/pkgfile/cron.dail/pkgfile`?

https://gist.github.com/1515fc22a531e4c1ef18

falconindy commented on 2012-09-08 16:10

DB format has changed -- if you're upgrading and pull in a v5 tag, you'll need to force update your DBs to get accurate results.

Gently commented on 2012-08-07 12:17

My bad. Thanks falcon, that did the trick.

falconindy commented on 2012-08-07 11:54

The manpage would tell you to source it from your shell initialization files -- ~/.bashrc, or ~/.zshrc

Gently commented on 2012-08-07 11:16

Thanks for fixing this falconindy. I noticed /usr/share/doc/pkgfile/command-not-found.bash which provides output if the command isn't found. How do I use it?

falconindy commented on 2012-07-18 12:43

Once I improved the downloader, I realized that I wanted pkgfile running more frequently than just daily (and not as root). There's no way to support that via the magical argv0 behavior. Since it was excess code that proved to be not as flexible as just adding pkgfile to crontab, i decided it should be removed.

WorMzy commented on 2012-07-18 10:23

Thanks. I'm curious why you removed the symlink nosr-update behaviour though. Was it broken?

Also your post_install message has one too many dashes.

falconindy commented on 2012-07-17 01:43

Merging this into pkgfile-git. A tagged release of this is also now available in community under the name pkgfile.

anonymous_user commented on 2012-06-30 23:18

Thanks for this tool. Now I don't need to install pkgtools just for pkgfile.

graysky commented on 2012-05-13 10:22

This is an excellent utility. Thank you for the time you spent developing it.

Anonymous comment on 2011-11-30 14:52

Sorry for my poor English

Anonymous comment on 2011-11-30 14:51

Oh,I know~~~:) Thanks

Anonymous comment on 2011-11-30 14:50

sorry for the out of date flag :) haha

falconindy commented on 2011-11-30 14:50

Again, this only builds against testing.

Anonymous comment on 2011-11-30 14:49

➜ ~ git:(master) ✗ pacman -Ss pacman
core/pacman 3.5.4-4 (base) [installed]
A library-based package manager with dependency support

my pacman is out-of-date???

Anonymous comment on 2011-11-30 14:46

➜ ~ git:(master) ✗ pacman -Ss pacman
core/pacman 3.5.4-4 (base) [installed]
A library-based package manager with dependency support

my pacman is out-of-date???

Anonymous comment on 2011-11-30 14:43

sorry for the out of date flag :) haha

falconindy commented on 2011-11-30 14:39

Fairly hilarious that you would flag a -git package (one that I author) out of date. In fact, your pacman is out of date. This only builds against testing.

Anonymous comment on 2011-11-30 14:38

==> Connecting to GIT server....
Cloning into nosr...
remote: Counting objects: 397, done.
remote: Compressing objects: 100% (165/165), done.
remote: Total 397 (delta 267), reused 358 (delta 229)
Receiving objects: 100% (397/397), 59.59 KiB | 4 KiB/s, done.
Resolving deltas: 100% (267/267), done.
==> GIT checkout done or server timeout
==> Starting make...
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 result.c
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 util.c
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 update.c
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 match.c
update.c:36:1: error: unknown type name ‘alpm_handle_t’
update.c: In function ‘download_repo_files’:
update.c:233:3: error: passing argument 1 of ‘alpm_fetch_pkgurl’ from incompatible pointer type [-Werror]
/usr/include/alpm.h:105:7: note: expected ‘const char *’ but argument is of type ‘int *’
update.c:233:3: error: too many arguments to function ‘alpm_fetch_pkgurl’
/usr/include/alpm.h:105:7: note: declared here
update.c: In function ‘nosr_update’:
update.c:250:7: error: ISO C forbids forward references to ‘enum’ types [-Werror=edantic]
update.c:250:21: error: storage size of ‘err’ isn’t known
update.c:258:2: error: too many arguments to function ‘alpm_initialize’
/usr/include/alpm.h:65:5: note: declared here
update.c:258:7: error: assignment makes pointer from integer without a cast [-Werror]
update.c:264:2: error: passing argument 1 of ‘alpm_option_add_cachedir’ from incompatible pointer type [-Werror]
/usr/include/alpm.h:143:5: note: expected ‘const char *’ but argument is of type ‘int *’
update.c:264:2: error: too many arguments to function ‘alpm_option_add_cachedir’
/usr/include/alpm.h:143:5: note: declared here
update.c:265:2: error: passing argument 1 of ‘alpm_option_set_dlcb’ from incompatible pointer type [-Werror]
/usr/include/alpm.h:120:6: note: expected ‘alpm_cb_download’ but argument is of type ‘int *’
update.c:265:2: error: too many arguments to function ‘alpm_option_set_dlcb’
/usr/include/alpm.h:120:6: note: declared here
update.c:271:2: error: too many arguments to function ‘alpm_release’
/usr/include/alpm.h:66:5: note: declared here
update.c:250:21: error: unused variable ‘err’ [-Werror=unused-variable]
cc1: all warnings being treated as errors

make: *** [update.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build nosr-git.

falconindy commented on 2011-08-28 19:16

Nothing really. pkgfile broke for me with pacman 4 because we now route debug/error output to stderr. It's a 2 line fix, but I felt compelled to write my own tool in C which doesn't attempt to parse debug output to determine the runtime environment (servers and whatnot). Features are more or less the same, with a few behavioral tweaks (and the case sensitivity flag actually works).

There's also a high probability this tool will end up in pacman 4.1.

falconindy commented on 2011-08-28 19:14

Yes, I'm aware that not everyone creates the files metadata. Their loss.

fixed and fixed.

karol_007 commented on 2011-08-28 19:12

Oh, and what's the difference between nosr and pkgfile?

karol_007 commented on 2011-08-28 19:01

Can I haz a \n ?

[karol@black test]$ nosr -u
chdir: /var/cache/nosr: No such file or directory[karol@black test]$
[karol@black test]$ sudo nosr -u
chdir: /var/cache/nosr: No such file or directory[karol@black test]$


Not sure why can't the directory be created automatically:

[karol@black test]$ sudo mkdir /var/cache/nosr


Unfortunately many repos don't provide files db:

[karol@black test]$ sudo nosr -u
==> Downloading core.files.tar.gz
==> Downloading extra.files.tar.gz
==> Downloading community.files.tar.gz
==> Downloading xyne-any.files.tar.gz
warning: failed to download http://xyne.archlinux.ca/repos/xyne-any/xyne-any.files.tar.gz
==> Downloading xyne-any.files.tar.gz
warning: failed to download Ôh·Ôh·ÐüÐü(Ôh·(Ôh·0Ôh·0Ôh·8Ôh·8Ôh·@Ôh·@Ôh·HÔh·HÔh·¸¸XÔh·XÔh·`Ôh·`Ôh·hÔh·hÔh·pÔh·pÔh·xÔh·xÔh·Ôh·Ôh·Ôh·Ôh·Ôh·Ôh·Ôh·Ôh· Ôh· Ôh·¨Ôh·¨Ôh·°Ôh·°Ôh·¸Ôh·¸Ôh·ÀÔh·ÀÔh·ÈÔh·ÈÔh·ÐÔh·ÐÔh·ØÔh·ØÔh·àÔh·àÔh·èÔh·èÔh·ðÔh·ðÔh·øÔh·øÔh·/xyne-any.files.tar.gz
==> Downloading xyne-any.files.tar.gz
^[[?1;2c^[[?1;2cwarning: failed to download http://ftp.tu-chemnitz.de/pub/linux/archlinux/xyne-any/os/x86_64/xyne-any.files.tar.gz
==> Downloading xyne-any.files.tar.gz
warning: failed to download http://ftp.uni-kl.de/pub/linux/archlinux/xyne-any/os/x86_64/xyne-any.files.tar.gz
[karol@black test]$ ?1;2c^[[?1;2c^[[B^[[A

falconindy commented on 2011-08-28 18:37

Lovely, i686 specific crap. fixed:

https://github.com/falconindy/nosr/commit/c19dcfe77a7a9da1ee928bca61cc69d578ab9731

karol_007 commented on 2011-08-28 18:22

/usr/include/archive.h:398:17: note: expected ‘off_t *’ but argument is of type ‘int64_t *’
cc1: all warnings being treated as errors

make: *** [nosr.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...