Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478384 - sys-apps/portage: repos.conf: support tarball (emerge-webrsync)
Summary: sys-apps/portage: repos.conf: support tarball (emerge-webrsync)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240187
  Show dependency tree
 
Reported: 2013-07-27 19:16 UTC by Alon Bar-Lev (RETIRED)
Modified: 2015-10-26 22:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2013-07-27 19:16:03 UTC
Hi,

Just synced and saw this feature, which is great.

Can you please consider extending it to support the emerge-webrsync functionality?

The benefits are:

1. Support snapshots of portage tree.

2. Enhanced security, as tarballs are signed and can be validated.

3. Retire the emerge-webrsync utility... :)

Something like:

sync-type = webrsync
sync-uri = http[s]://[username:password@]xxxx/tarball
gpgkeyid = 96D8BF6D

I would also consider providing git ref/hash/tag to git checkout.

Thanks!
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2013-09-23 04:05:10 UTC
actually, due to this repos.conf change, it breaks emerge-webrsync on a fresh install.

xu pentoo # tar -xpf stage3-armv7a_hardfp-20130921.tar.bz2 
xu pentoo # ls
bin  boot  dev  etc  home  lib  media  mnt  opt  proc  root  run  sbin  stage3-armv7a_hardfp-20130921.tar.bz2  sys  tmp  usr  var
xu pentoo # mount --rbind /dev dev
xu pentoo # mount -t proc none proc
xu pentoo # cp -L /etc/resolv.conf etc/
xu pentoo # chroot . /bin/bash
xu / # env-update && source /etc/profile
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage'
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! main-repo not set in DEFAULT and PORTDIR is empty.
>>> Regenerating /etc/ld.so.cache...
xu / # emerge-webrsync 
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage'
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! main-repo not set in DEFAULT and PORTDIR is empty.
emerge-webrsync: error: Repository 'gentoo' not found
xu / #

Apologies if this is the wrong bug, but it is the only one i found mentioning repos.conf
Comment 2 Zac Medico gentoo-dev 2013-09-23 20:46:56 UTC
(In reply to Steev Klimaszewski from comment #1)

See bug #484950.