You are not logged in.

#1 2009-02-16 01:56:25

xduugu
Member
Registered: 2008-10-16
Posts: 282

source repositories and srcman

Lately I extended repo-add to handle source packages like the ones created by makepkg and the ones from the AUR respectively. The resulting 'source repository' (which can also be a mix of binary and source packages) can be added to pacman.conf which makes it possible e.g. to search for packages contained in a source repository.

I created such a source repository for the AUR which can be accessed at

[aur]
Server = http://aur.neakro.net

and which is currently updated every three hours.

The key benefits of such a repository of the AUR are
* you will be notified of outdated AUR packages when executing pacman -Sy
* you can search for packages offline and you will get the results faster
* additionally, the search supports regular expressions
* no need for tools which depends on AUR's web interface


But you might have already noticed that pacman can only handle non-install operations for source packages. This is where srcman comes in.

srcman is a small pacman (and makepkg) wrapper whose sole function is to deal with source packages. It doesn't introduce any new command line options and should behave exactly like pacman does but there are some options which can be found in the first lines of /usr/bin/srcman and which can be set in /etc/srcman.conf and/or ~/.config/srcman/srcman.conf.

The current version of srcman is mostly feature complete but still at a very early stage and needs lots of testing.


Changelog
2009-10-15    0.3
* Downgrade support (-Suu)
* i18n support via gettext
* Finally added some documentation, more precisely a man page and a default
  config file
* Added .xz suffix to default package / source suffixes
* Pacman arguments are now quoted correctly, which means that regular
  expressions actually work now, e.g. srcman -Qs '.-(git|svn)'
* srcman did not always return the correct pacman return codes
* Fixed several other bugs

2009-08-03    0.2
* Pacman 3.3 compatibility
* Support for -U <URL>
* Support for -Syy
* Only text files are now selectable in the edit files prompt (but hey, don't
  you usually edit your binary files in vim? wink )
* Do not prompt for removing orphans which were just installed using --asdeps
* All unknown commandline options are now directly passed to the configured
  pacman command (support for wrapper specific options)

2009-02-17    0.1.1
* Fixed an annoying bug which prevented the installation of source packages if
  PKGDEST was not set in makepkg.conf

2009-02-16    0.1
* First public release

Last edited by xduugu (2009-10-14 23:12:36)

Offline

#2 2009-04-17 15:46:37

xduugu
Member
Registered: 2008-10-16
Posts: 282

Re: source repositories and srcman

The repository has moved to another server and is updated regularly from now on (every three hours).

Offline

#3 2009-08-04 23:38:47

xduugu
Member
Registered: 2008-10-16
Posts: 282

Re: source repositories and srcman

Recently, srcman received an update.

The most notable changes are:
- pacman 3.3 compatibility
- Support for -U <URL>
- Support for -Syy
- only text files are now selectable in the edit files prompt (but hey, don't you usually edit your binary files in vim? wink )
- do not prompt for removing orphans which were just installed using --asdeps
- all unknown commandline options are now directly passed to the configured pacman command (Support for wrapper specific options)

Known issues:
- package replaces are not supported until now
- downgrading (-Suu) is likely to fail if there are source packages to downgrade (implemented in 0.3)

Last edited by xduugu (2009-10-14 23:15:21)

Offline

#4 2009-10-14 23:21:08

xduugu
Member
Registered: 2008-10-16
Posts: 282

Re: source repositories and srcman

Just another srcman release, which introduces several new features and fixes some bugs. The changelog can be found in the first post or in the AUR package.



Important note: The URL of the AUR repository will change again. The new one is

http://aur.neakro.net

During the next month or so, both urls will work, but after that, the repository will be only available at the new address.

Offline

#5 2009-11-16 18:18:00

quantax
Member
Registered: 2007-08-16
Posts: 24

Re: source repositories and srcman

Nice idea, but http://aur.neakro.net/aur.db.tar.bz2 is currently out of date and empty!

Offline

#6 2009-11-17 22:00:44

xduugu
Member
Registered: 2008-10-16
Posts: 282

Re: source repositories and srcman

Thanks. I already was aware of it, but the script which generates the database runs on a server of a friend of mine where I have no direct access. I have notified him last week but this was low priority for me as I also have a local database and did not know someone else is using it. Should be fixed till tomorrow, sorry.

Offline

#7 2009-12-02 18:46:17

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: source repositories and srcman

Holy hell man.  I wish I found this months ago.  This is excellent.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#8 2010-01-09 14:17:07

xduugu
Member
Registered: 2008-10-16
Posts: 282

Re: source repositories and srcman

There is still no solution for FS#17358, but I do not want to wait any longer. The database is (and will be) up-to-date again. but since it is now generated on another machine, it may take a day or so until your dns server points you to the correct machine. The url ( http://aur.neakro.net ) is still the same.

Offline

Board footer

Powered by FluxBB