Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397461 - layman doesn't automatically figure out repository location changes
Summary: layman doesn't automatically figure out repository location changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Brian Dolbec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 06:25 UTC by Patrick Lauer
Modified: 2014-07-11 21:49 UTC (History)
2 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 Patrick Lauer gentoo-dev 2012-01-03 06:25:09 UTC
# layman -s vala
* Running... # /usr/bin/svn up /var/lib/layman/vala
Authentication realm: <http://gentoo-vala.googlecode.com:80> Google Code Subversion Repository
Password for 'root': 
Authentication realm: <http://gentoo-vala.googlecode.com:80> Google Code Subversion Repository
Username: 
Password for '': 
Authentication realm: <http://gentoo-vala.googlecode.com:80> Google Code Subversion Repository
Username: 
Password for '': 
svn: OPTIONS of 'http://gentoo-vala.googlecode.com/svn/overlay': authorization failed: Could not authenticate to server: rejected Basic challenge (http://gentoo-vala.googlecode.com)
* 
* Warnings:
* ------
* 
* The source of the overlay "vala" seems to have changed.
* You currently sync from
* 
*   http://gentoo-vala.googlecode.com/svn/overlay/
* 
* while the remote lists report
* 
*   https://code.google.com/p/vala-overlay/
* 
* as correct location.
* Please consider removing and re-adding the overlay.
* 
* 
* Errors:
* ------
* 
* Failed to sync overlay "vala".
* Error was: Syncing overlay "vala" returned status 1!
*


Hmmm, this looks bad! But wait - 


# layman -d vala; layman -a vala
* Deleting directory "/var/lib/layman/vala"
* Successfully deleted overlay "vala".
* Running... # /usr/bin/git clone https://code.google.com/p/vala-overlay/ /var/lib/layman/vala
Cloning into /var/lib/layman/vala...
remote: Counting objects: 389, done.
remote: Finding sources: 100% (389/389), done.
remote: Total 389 (delta 160)
Receiving objects: 100% (389/389), 80.97 KiB, done.
Resolving deltas: 100% (160/160), done.
* Successfully added overlay "vala".


So the URI changed, but layman doesn't pick that up. What would be totally awesome at this point is layman figuring out that the repo changed and telling me to fix it, or optionally deleting and recheckouting.
Comment 1 Devan Franchini (RETIRED) gentoo-dev 2014-07-11 21:49:18 UTC
This feature is in the layman-9999 and will be pushed in the next upcoming release as well.