Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353722 - smart-live-rebuild: check revision without using local repo if possible
Summary: smart-live-rebuild: check revision without using local repo if possible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 22:25 UTC by Alexander Vershilov (RETIRED)
Modified: 2011-02-09 13:28 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 Alexander Vershilov (RETIRED) gentoo-dev 2011-02-04 22:25:11 UTC
For some SCM we are able to check revision without using local repo.
For example if we are using svn we can use ''svn info'' to check version and update repository only in case it is updated.

It can be very usefull if ones removes repo from distfiles for some reason.

Reproducible: Sometimes
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-02-06 16:26:23 UTC
8506c72f adds an API for that feature [1], and 1a6d87bd implements the support for subversion [2].

The more I think of it, the more I start to like the overall idea of pinging remote server for updates without touching the local repo. If we could implement this in most of VCS-es, I could consider making this the default behavior. However, I would need to re-implement the concept of non-blocking operation.

[1] https://github.com/mgorny/smart-live-rebuild/commit/8506c72f7a579c0b5fcfc4c094a4dfb44fadba00
[2] https://github.com/mgorny/smart-live-rebuild/commit/1a6d87bdca1f419636f31c7c97b5df197344e4be
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-02-09 13:28:38 UTC
/var/cvsroot/gentoo-x86/app-portage/smart-live-rebuild/smart-live-rebuild-0.7.ebuild,v  <--  smart-live-rebuild-0.7.ebuild
initial revision: 1.1

Fixed.