bugmonotone - Bugs: bug #16150, monotone automate inventory needs...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16150: monotone automate inventory needs filtering options

Submitted by:  Glen Ditchfield <gjditchfield>
Submitted on:  Wed 22 Mar 2006 03:49:28 AM UTC  
 
Category: command line UISeverity: 3 - Normal
Item Group: feature requestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

monotone 0.25 (base revision: 4f4cb0aa339ad70c5b2624db22073d9e9a36c115)
Running on: Linux 2.6.8-24.20-default #1 Thu Feb 2 20:46:50 UTC 2006 i686
Changes since base revision:
new_manifest [76b5ea65324372db9886d2c0a8cee8e759841c8c]

old_revision [4f4cb0aa339ad70c5b2624db22073d9e9a36c115]
old_manifest [76b5ea65324372db9886d2c0a8cee8e759841c8c]

Generated from data cached in the distribution;
further changes may have been made.

Generated from data cached in the distribution;
further changes may have been made.

Generated from data cached in the distribution;
further changes may have been made.

Generated from data cached in the distribution;
further changes may have been made.

Generated from data cached in the distribution;
further changes may have been made.

Generated from data cached in the distribution;
further changes may have been made.

Sun 25 Nov 2007 04:00:33 PM UTC, comment #1:

The new automate inventory takes restrictions.

Timothy Brownawell <tbrownaw>
Project Member
Wed 22 Mar 2006 03:49:28 AM UTC, original submission:

See http://lists.gnu.org/archive/html/monotone-devel/2006-03/msg00120.html
for motivation.

"monotone automate inventory" produces one line of output for every file in the sandbox. For my purposes, I would like much less output, since I am interested in a dozen of many thousands of files. I suggest

- an optional PATH; monotone would only produce output for files in that directory.

- a --file-state= option; monotone would only produce output for files in one of the given states.

"monotone automate inventory --file-state=MIU Mail" would list the missing, unknown, and ignored files in the Mail directory or its subdirectories. "monotone automate inventory --file-state=\ " would list files that are known and unchanged

Note that "monotone ls unknown Mail" will not produce a list of unknown files in Mail if any files are missing from Mail.

Aside: if ' ' had not been used to represent "unchanged" in inventory's pre-state, post-state, and file-state columns, I would suggest a --state= option that would filter on all three states: --state=DAM would list files that were dropped, added, and are missing. Wouldn't it be easier for word-oriented scripting languages to parse inventory's output if the state columns were non-blank?

Glen Ditchfield <gjditchfield>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tbrownaw (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Nov 2007 04:00:33 PM UTCtbrownawStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1