rpathsync / conary (http://wiki.rpath.com/wiki/Conary)
Conary is a distributed software management system for Linux distributions.
Clone this repository (size: 19.4 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/rpathsync/conary/
| commit 14900: | 489469695596 |
| parent 14899: | dea1115bd13f |
| branch: | default |
pin code now uses new walkTroveSet, which can directly return troveInfo tuples
5 weeks ago
Changed (Δ101 bytes):
raw changeset »
conary/local/database.py (2 lines added, 4 lines removed)
Up to file-list conary/local/database.py:
| … | … | @@ -1498,10 +1498,8 @@ class SqlDbRepository(trovesource.Search |
1498 |
1498 |
troves = self.getTroves(troveList) |
1499 |
1499 |
|
1500 |
1500 |
for trove in troves: |
1501 |
for subTrove in self.walkTroveSet(trove): |
|
1502 |
self.db.pinTroves(subTrove.getName(), |
|
1503 |
subTrove.getVersion(), |
|
1504 |
subTrove.getFlavor(), pin = pin) |
|
1501 |
for troveInfo in self.walkTroveSet(trove, withFiles = False): |
|
1502 |
self.db.pinTroves(pin = pin, *troveInfo) |
|
1505 |
1503 |
|
1506 |
1504 |
if troves: |
1507 |
1505 |
self._updateTransactionCounter = True |
