You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kevin Pilch-Bisson <ke...@pilch-bisson.net> on 2001/09/04 16:48:45 UTC

Re: [Issue 482] New - .svnignore processing needed

On Tue, Sep 04, 2001 at 04:52:46PM -0000, issues@subversion.tigris.org wrote:
> http://subversion.tigris.org/issues/show_bug.cgi?id=482
> 
> *** shadow/issues_15/482	Tue Sep  4 09:52:46 2001
> --- shadow/issues_15/482.tmp.24138	Tue Sep  4 09:52:46 2001
> ***************
> *** 0 ****
> --- 1,29 ----
> + +============================================================================+
> + | .svnignore processing needed                                               |
> + +----------------------------------------------------------------------------+

I was waiting for this issue to be added. (and I'm thinking of tackling it 
after I finish diff suboptions).

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: [SVN-DEV] Re: [Issue 482] New - .svnignore processing needed

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Tue, Sep 04, 2001 at 02:48:54PM -0400, C. Scott Ananian wrote:
> > Yes, but I don't like the idea of using a .svnignore file. We have 
> > versioned directories now, and directories have props, so I'd use a 
> > special property (svn:ignore?) that would contain a list of patterns.
> > 
> > Um. You'd also need a couple of commands to modify the list.
> 
> Has this project *completely* ignored the UNIX 'all data is text' dictum?
> At *least* provide a way to dump a properties list as a text file so you
> can edit it as text and re-merge it, then.  Surely it doesn't serve
> *anyone's* needs to have to provide all sorts of special editing tools for
> these properties?

svn propget svn:ignore targets > file should work fine.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: [Issue 482] New - .svnignore processing needed

Posted by Ben Collins-Sussman <su...@collab.net>.
Greg Stein <gs...@lyra.org> writes:

> > Of course, props still don't quite work over ra_dav (yet.)  They're
> > not coming down to us in checkouts.  (See issues 382/437).
> 
> We're filtering the properties for "svn:custom:" namespaces (then stripping
> that, and using the rest for the "user" prop name). We also need to allow
> through props with "svn:" prefixes (with no further munging).

That would be great.  Can you or Joe fix this easily today?  Or show
me where it's happening?

Our repository is full of 'binary' properties right now,
(svn:mime-type -> application/x-octet-stream) on files.  Until we
allow "svn:" props through ra_dav, we don't these binary props in our
working copy.  The client will attempt to run diff/patch when updating
.jpg files, which is not good.  :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Sep 04, 2001 at 12:56:52PM -0500, Ben Collins-Sussman wrote:
> Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
> 
> > Yes, but I don't like the idea of using a .svnignore file. We have 
> > versioned directories now, and directories have props, so I'd use a 
> > special property (svn:ignore?) that would contain a list of patterns.
> 
> Ooooh, I like that idea!  
> 
> Of course, props still don't quite work over ra_dav (yet.)  They're
> not coming down to us in checkouts.  (See issues 382/437).

We're filtering the properties for "svn:custom:" namespaces (then stripping
that, and using the rest for the "user" prop name). We also need to allow
through props with "svn:" prefixes (with no further munging).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

>Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
>
>>Ah. Good point, I forgot about -F. I assume propset -F is writes the 
>>file? Or never mind, I'll look at the code instead.
>>
>
>It just takes a "value" from a file.  It also works for commits:
>
>   svn ci -F log_msg.txt
>
Aargh, my typo: I meant "propget -F".

svn propget -F list.txt svn:ignore foo
<edit list.txt>
svn propset -F list.txt svn:ignore foo


I know, I know -- you can redirect propget's output, but then you a) 
assime the shell /can/ redirect the output, b) make the future "shell 
mode" harder to implement and c) don't get newline conversion on the 
property value

-- 
Brane �ibej   <br...@xbc.nu>            http://www.xbc.nu/brane/




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Brian Behlendorf <br...@collab.net>.
On 4 Sep 2001, Ben Collins-Sussman wrote:
> Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
>
> > (Don't care, can't access svn.collab.net at all, grrr, how in &$/&!"# am
> > I supposed to update?)
>
> You still can't find it in DNS?   You should really just put
> 216.127.237.133 into a local hosts file, until this DNS bug is fixed.

It's been fixed, restarting his nameserver may be required.

	Brian




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Ben Collins-Sussman <su...@collab.net>.
Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:

> (Don't care, can't access svn.collab.net at all, grrr, how in &$/&!"# am 
> I supposed to update?)

You still can't find it in DNS?   You should really just put
216.127.237.133 into a local hosts file, until this DNS bug is fixed.

> 
> >>Um. You'd also need a couple of commands to modify the list.
> >>
> >
> >Huh?  What's wrong with 'svn propset svn:ignore -F list.txt dirname' ?
> >
> Ah. Good point, I forgot about -F. I assume propset -F is writes the 
> file? Or never mind, I'll look at the code instead.

It just takes a "value" from a file.  It also works for commits:

   svn ci -F log_msg.txt


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

>Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:
>
>>Yes, but I don't like the idea of using a .svnignore file. We have 
>>versioned directories now, and directories have props, so I'd use a 
>>special property (svn:ignore?) that would contain a list of patterns.
>>
>
>Ooooh, I like that idea!  
>
>Of course, props still don't quite work over ra_dav (yet.)  They're
>not coming down to us in checkouts.  (See issues 382/437).
>

(Don't care, can't access svn.collab.net at all, grrr, how in &$/&!"# am 
I supposed to update?)

>>Um. You'd also need a couple of commands to modify the list.
>>
>
>Huh?  What's wrong with 'svn propset svn:ignore -F list.txt dirname' ?
>
Ah. Good point, I forgot about -F. I assume propset -F is writes the 
file? Or never mind, I'll look at the code instead.

-- 
Brane �ibej   <br...@xbc.nu>            http://www.xbc.nu/brane/




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Ben Collins-Sussman <su...@collab.net>.
Branko =?ISO-8859-2?Q?=C8ibej?= <br...@xbc.nu> writes:

> Yes, but I don't like the idea of using a .svnignore file. We have 
> versioned directories now, and directories have props, so I'd use a 
> special property (svn:ignore?) that would contain a list of patterns.

Ooooh, I like that idea!  

Of course, props still don't quite work over ra_dav (yet.)  They're
not coming down to us in checkouts.  (See issues 382/437).

> 
> Um. You'd also need a couple of commands to modify the list.
> 

Huh?  What's wrong with 'svn propset svn:ignore -F list.txt dirname' ?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [SVN-DEV] Re: [Issue 482] New - .svnignore processing needed

Posted by Branko Čibej <br...@xbc.nu>.
C. Scott Ananian wrote:

>>Yes, but I don't like the idea of using a .svnignore file. We have 
>>versioned directories now, and directories have props, so I'd use a 
>>special property (svn:ignore?) that would contain a list of patterns.
>>
>>Um. You'd also need a couple of commands to modify the list.
>>
>
>Has this project *completely* ignored the UNIX 'all data is text' dictum?
>At *least* provide a way to dump a properties list as a text file so you
>can edit it as text and re-merge it, then.  Surely it doesn't serve
>*anyone's* needs to have to provide all sorts of special editing tools for
>these properties?
>
   1. Subversion has to cater to many different systems. All the world's
      not Linux.
   2. Please take the time to read the whole thread before replying to a
      post.


-- 
Brane �ibej   <br...@xbc.nu>            http://www.xbc.nu/brane/




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [SVN-DEV] Re: [Issue 482] New - .svnignore processing needed

Posted by "C. Scott Ananian" <ca...@lesser-magoo.lcs.mit.edu>.
> Yes, but I don't like the idea of using a .svnignore file. We have 
> versioned directories now, and directories have props, so I'd use a 
> special property (svn:ignore?) that would contain a list of patterns.
> 
> Um. You'd also need a couple of commands to modify the list.

Has this project *completely* ignored the UNIX 'all data is text' dictum?
At *least* provide a way to dump a properties list as a text file so you
can edit it as text and re-merge it, then.  Surely it doesn't serve
*anyone's* needs to have to provide all sorts of special editing tools for
these properties?
 --s

tonight Diplomat affinity group nuclear Rule Psix explosives Delta Force 
Israel shortwave TASS class struggle postcard corporate globalization 
              ( http://lesser-magoo.lcs.mit.edu/~cananian )
 --
 "These students are going to have to find out what law and order is
 all about."  -- Brig. General Robert Canterbury, Noon, May 4, 1970,
 minutes before his troops shot 13 unarmed Kent State students, killing 4.
 --
            [http://www.cs.cmu.edu/~dst/DeCSS/Gallery/]
#!/usr/bin/perl -w
# 526-byte qrpff, Keith Winstein and Marc Horowitz <si...@mit.edu>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unx"C*",$_)[20]&48){$h=5;
$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$b=73;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=($t=255)&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9
,$_=(map{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t
^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271))
[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 482] New - .svnignore processing needed

Posted by Branko Čibej <br...@xbc.nu>.
Kevin Pilch-Bisson wrote:

>On Tue, Sep 04, 2001 at 04:52:46PM -0000, issues@subversion.tigris.org wrote:
>
>>http://subversion.tigris.org/issues/show_bug.cgi?id=482
>>
>>*** shadow/issues_15/482	Tue Sep  4 09:52:46 2001
>>--- shadow/issues_15/482.tmp.24138	Tue Sep  4 09:52:46 2001
>>***************
>>*** 0 ****
>>--- 1,29 ----
>>+ +============================================================================+
>>+ | .svnignore processing needed                                               |
>>+ +----------------------------------------------------------------------------+
>>
>
>I was waiting for this issue to be added. (and I'm thinking of tackling it 
>after I finish diff suboptions).
>

Yes, but I don't like the idea of using a .svnignore file. We have 
versioned directories now, and directories have props, so I'd use a 
special property (svn:ignore?) that would contain a list of patterns.

Um. You'd also need a couple of commands to modify the list.


-- 
Brane �ibej   <br...@xbc.nu>            http://www.xbc.nu/brane/




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org