bugArX revision control system - Bugs: bug #4793, get patch --files

 
 

bug #4793: get patch --files

Submitted by:  Walter Landry <landry>
Submitted on:  Sun 17 Aug 2003 03:09:33 AM UTC  
 
Severity:  1 - Feature Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 17 Aug 2003 03:09:33 AM UTC, original submission:

(Taken from a wishlist against tla)

Hi,

ViewARCH doesn't access to TLA repo directly.
All operation are executed through related tla subcommands.
I think it's the right idea. Even if internal format
of tla repository will be changed, it can access
such new repo as well as old ones, as far as tla's
subcommand won't be changed.

On such premises, I'd like the following commands:

  • On-the-fly patch file retrieving

Take a look at the following URL for example:

http://www.bluegate.org/cgi-bin/viewarch/viewarch.cgi/lord@emf.net--2003b/tla--devo--1.1--patch-125?cmd=diff&file=./libarch/cmd-ls-archives.c

The algorithm is:

1. make temp directory
2. 'tla get-patch' on it
3. retrieve the file that I want (in this case, 'cmd-ls-archives.c')
4. remove the temp directory

This sequence is simply awful. Can I get the following option ?

$ tla get-patch -O -A lord@emf.net--2003b tla--devo--1.1--patch-125 ./libarch/cmd-ls-archives.c
--- orig/libarch/cmd-ls-archives.c
+++ mod/libarch/cmd-ls-archives.c
@@ -18,7 +18,7 @@

-static t_uchar * usage = "[options] archive";
+static t_uchar * usage = "[options] [search regular expression]";
static t_uchar * version_string = (cfg__std__package " from regexps.com\n"

...

$

-O means 'stdout', and optional filename(./libarch/cmd-ls-archives.c) can be accepted.

  • On-the-fly directory listing & file retrieving

When concerning the characteristic of tar + patch storage paradigma,
it may be very difficut, but ...

As many people noticed, ViewARCH can't browse file/directory.

Can I get the following commands ?

$ tla get -O --dir -A lord@emf.net--2003b tla--devo--1.1--patch-12 ./
F =THANKS
F =TODO
F COPYING
F ChangeLog
D ChangeLog.d
F Makefile.in
D PLUGIN
D libarch
D libawk
D libdate
D libfsutils
D libneon
D tests
D tla
D tutorial
D {arch}
$ tla get -O --dir -A lord@emf.net--2003b tla--devo--1.1--patch-12 ./tla
F Makefile.in
D PLUGIN
F tla.c
$ tla get -O --file -A lord@emf.net--2003b tla--devo--1.1--patch-12 ./libarch/cmd.c
/* cmd.c:
*
****************************************************************
* Copyright (C) 2003 Tom Lord
*
* See the file "COPYING" for further information about
* the copyright and warranty status of this work.

...

/* tag: Tom Lord Mon Jun 2 17:26:01 2003 (cmd.c)
*/
$

- Tez

Walter Landry <landry>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.3