Commit Graph

33 Commits

Author SHA1 Message Date
Marios Titas
c0b29bbf4f Use functions.sh from gentoo-functions instead of the one from openrc 2015-08-22 19:36:19 +01:00
9b25baeeed
Merge branch 'kill-util-functions' of git://github.com/redneb/portage-gentoo-git-config 2015-08-22 00:51:03 +02:00
Marios Titas
0bcbb95f8c remove references to util-functions.sh as it is not used anymore 2015-08-21 22:57:04 +01:00
Marios Titas
0640f87285 Reuse the NEWSDIR variable & avoid PORTDIR 2015-08-21 22:56:48 +01:00
7b541df297
Update README to reflect overlay egencache possibility 2015-08-21 22:44:29 +02:00
a69365722e
Update for new news repository format 2015-08-21 22:39:10 +02:00
2a7607cdea
Merge branch 'repo-postsync' of git://github.com/redneb/portage-gentoo-git-config 2015-08-21 20:27:31 +02:00
Marios Titas
c4e2b5f70a Use double bracket test for consistency 2015-08-21 02:14:25 +01:00
Marios Titas
44070da3d7 Move the cache hook to repo.postsync.d and adjust it accordingly 2015-08-21 01:08:31 +01:00
Marios Titas
d70b7b6056 Adjust postsync scripts to work correctly in repo.postsync.d 2015-08-21 01:01:05 +01:00
Marios Titas
76f7a75106 Move postsync scripts (sans cache) to repo.postsync.d 2015-08-21 01:01:00 +01:00
d5ec4ddb98
Improve einfo/ebegin 2015-08-20 11:46:07 +02:00
208e048641
Merge branch 'master' of git://github.com/zx2c4/portage-gentoo-git-config 2015-08-20 11:44:01 +02:00
Jason A. Donenfeld
a456734297 Status for each repo metadata update 2015-08-20 03:48:18 +02:00
573f2ba6c5
Be less verbose 2015-08-19 21:05:45 +02:00
6cb31c2b54
Improve overlay/repository handling
Allows to specify which repositories should receive cache update via
  repository_list( gentoo [other-repos] )

and allows to specify numbers of egencache jobs via
  egencache_jobnum="<num>"
2015-08-19 21:02:54 +02:00
Jason A. Donenfeld
10a9c1d1d4
More proper way of making rsync pipe down 2015-08-19 20:38:34 +02:00
6df3897ccd
Add support to update cache of overlays 2015-08-17 17:58:31 +02:00
31dd5f0549
Consistent variable expansion where appropriate 2015-08-17 17:58:24 +02:00
fac4559d9a
Make rsync less verbose 2015-08-17 17:54:10 +02:00
e74e35312f
Merge branch 'master' of git://github.com/zx2c4/portage-gentoo-git-config 2015-08-17 17:53:16 +02:00
Jason A. Donenfeld
cd63a3607a This isn't as useful as it seems 2015-08-17 14:14:00 +02:00
Jason A. Donenfeld
9dd6042cdd Don't hardcode 8 jobs. Use nproc. 2015-08-17 14:08:03 +02:00
Jason A. Donenfeld
fddecbe751 Use proper URL for herds 2015-08-17 14:00:13 +02:00
Jason A. Donenfeld
d0adcdee45 sync_cache: Use the rsync cache first
Since updating the cache the first time or after not syncing for a while
takes quite a bit of CPU, we might as well opportunistically utilize the
rsync cache by selectively rsyncing from it, and then running the local
caching operation after.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2015-08-17 13:51:36 +02:00
Jason A. Donenfeld
55ca8134e3 Cleanup output and scripting
Using ebegin/eend makes things a bit cleaner and Gentoo-ish, and we can
also clean up the scripts in general by using git's -C option.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2015-08-17 13:48:12 +02:00
7680f385c8
Merge branch 'patch-1' of git://github.com/chewi/portage-gentoo-git-config 2015-08-16 17:35:53 +02:00
James Le Cuirot
e47457fc61 API repository has moved 2015-08-15 23:24:40 +01:00
6cb94495e1
Fix bug in sync_dtd, thanks to freke 2015-08-15 15:57:28 +02:00
99ce48196c
Fix spelling 2015-08-15 12:55:49 +02:00
5ae439f434
Be more verbose in README.md 2015-08-15 12:53:21 +02:00
52879b725a
Add README.md 2015-08-14 22:27:30 +02:00
8551ee66b4
Initial commit 2015-08-14 22:16:49 +02:00