Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446934 - subversion.eclass v1.83 drops local checkout if svn client fails (on transport errors)
Summary: subversion.eclass v1.83 drops local checkout if svn client fails (on transpor...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 23:58 UTC by Bruno
Modified: 2012-12-12 01:48 UTC (History)
0 users

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 Bruno 2012-12-11 23:58:53 UTC
When comparing UUIDs of local checkout and remote repository the eclass may end up deleting all of the local checkout in case server returns some error (e.g. HTTP 503 error) instead of providing repository info (UUID).

In case any of the svn calls fails the eclass should die() and not proceed with possibly broken/incomplete output.

In addition, it deletes much more that just the single repository that is affected. It removes $ESVN_PROJECT instead of ${ESVN_PROJECT}/${ESVN_REPO_URI##*/}

For affected ebuilds, see live ebuilds in enlightenment overlay (in combination with enlightenment eclass).

Reproducible: Always