Bug 394141 - add "justdb" tsflag support
Summary: add "justdb" tsflag support
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-21 13:28 UTC by Dmitry Butskoy
Modified: 2014-01-21 23:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-13 15:20:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The proposed patch (just one line to add). (641 bytes, patch)
2007-11-21 13:28 UTC, Dmitry Butskoy
no flags Details | Diff

Description Dmitry Butskoy 2007-11-21 13:28:51 UTC
Yum now supports some rpm transaction flags, either by "tsflags" config 
option, or by "yum-tsflags" plugin.

Currently only partial list of possible TS flags is supported: 
"noscripts", "notriggers", "nodocs", "test" and "repackage".

I would like to propose to add "justdb" flag as well.

The "justdb" flag is useful in combination with "--installroot=DIR" and
"keepcache=1".

After the "yum --installroot=DIR --tsflags=justdb update", a separate rpm
database (DIR/var/lib/rpm) we be updated (with all transactions check etc.).
Then we catch the downloaded packages (from DIR/var/cache/yum) and move them
either to a local repository (in a case where the rpm database reflects some
local partial repository snapshot), or move to removable media and then update a
computer without network access, etc.

Comment 1 Dmitry Butskoy 2007-11-21 13:28:51 UTC
Created attachment 265971 [details]
The proposed patch (just one line to add).

Comment 2 Dmitry Butskoy 2008-01-07 14:50:40 UTC
Ping.

It is too trivial and spoils nothing...
Are there any blockers for implementation of this additional tsflag?

Comment 3 Dmitry Butskoy 2008-02-20 14:29:20 UTC
Ping.

Comment 4 Seth Vidal 2008-03-12 15:48:07 UTC
YUMBUGDAY

Comment 5 Jeremy Katz 2008-03-13 15:20:08 UTC
Added in git


Note You need to log in before you can comment on or make changes to this bug.