You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Johann Glaser <Jo...@gmx.at> on 2004/12/12 18:26:51 UTC

Pipes (Fifos) stored in SVN

Hi!

I'm new to Subversion. After carefully reading the SVN book I now added
a few projects to SVN. This worked fine. I chose SVN 1.1 because it has
support for symbol links.

May I suggest to add another such little enhancement and also store
named pipes (= FIFOs) (created e.g. with mkfifo(1)). Sometimes it is
handy to have fifos in directories while testing a program.

Thanks
  Hansi

-- 
Johann Glaser   <Jo...@gmx.at>
   Vienna University of Technology
       Electrical Engineering
____ http://www.johann-glaser.at/ ____


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

Re: Pipes (Fifos) stored in SVN

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
Johann Glaser wrote:
> Actually, the script itself creates the pipe if
> there is none. Unfortunately there are some important owner and
> permission issues which can only be done when running as root (what is
> not the normal operation of the script). Therefore I'd like to have the
> pipe there as is when checking out the devel environment.

If the script requires root, so will subversion, so this won't help.

> But regardless of my direct needs, wouldn't it be at least an easy to
> implement improvement to SVN, if it supports more kinds of special
> files:
>  - symbol links (already in 1.1)
>  - fifos
>  - devices (like in /dev/)

It's not like those have any content that could be versioned (except the 
symlinks, which have a target), the only thing they could do is, well, being 
present, and even that only on POSIX-like systems - win32 as other big family 
doesn't allow pipes and files in the same directory-namespace, but it would 
then add mutexes, events and other such stuff to the things that subversion 
could potentially have to manage... 
(please note the irony in the last part)

Uli

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

RE: Pipes (Fifos) stored in SVN

Posted by Johann Glaser <Jo...@gmx.at>.
Hi!

> Correct me if I'm wrong, but even if the fifo was in SVN, the SVN client
> would still need to be root to set
> the ownership properly, wouldn't it?  Just because I'm using svn to create
> an inode on disk instead of "touch" or
> "vi" doesn't grant me additional priviledges.

Um, yes, you are right. I didn't think of that before, silly me. Hmm,
have to find a way to automate this. Thanks for the hint. :-)

Bye
  Hansi



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

RE: Pipes (Fifos) stored in SVN

Posted by James FitzGibbon <jf...@primustel.ca>.
Correct me if I'm wrong, but even if the fifo was in SVN, the SVN client
would still need to be root to set
the ownership properly, wouldn't it?  Just because I'm using svn to create
an inode on disk instead of "touch" or
"vi" doesn't grant me additional priviledges.

-----Original Message-----
From: Johann Glaser [mailto:Johann.Glaser@gmx.at] 
Sent: Monday, December 13, 2004 6:25 AM
To: users@subversion.tigris.org
Subject: Re: Pipes (Fifos) stored in SVN

Hi!

> > May I suggest to add another such little enhancement and also store 
> > named pipes (= FIFOs) (created e.g. with mkfifo(1)). Sometimes it is 
> > handy to have fifos in directories while testing a program.
> 
> Is there something preventing your test-programs from just creating 
> the named pipe if it doesn't exist?
> 
> Just because something is in the file-system doesn't mean it should be 
> revision-controlled :)

Yes, you are right. Actually, the script itself creates the pipe if there is
none. Unfortunately there are some important owner and permission issues
which can only be done when running as root (what is not the normal
operation of the script). Therefore I'd like to have the pipe there as is
when checking out the devel environment.

But regardless of my direct needs, wouldn't it be at least an easy to
implement improvement to SVN, if it supports more kinds of special
files:
 - symbol links (already in 1.1)
 - fifos
 - devices (like in /dev/)

So this is a suggestion and a wish. :-)

Bye
  Hansi

-- 
Johann Glaser   <Jo...@gmx.at>
   Vienna University of Technology
       Electrical Engineering
____ http://www.johann-glaser.at/ ____


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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.806 / Virus Database: 548 - Release Date: 12/5/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.806 / Virus Database: 548 - Release Date: 12/5/2004
 



----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------


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

Re: Pipes (Fifos) stored in SVN

Posted by Johann Glaser <Jo...@gmx.at>.
Hi!

> > May I suggest to add another such little enhancement and also store
> > named pipes (= FIFOs) (created e.g. with mkfifo(1)). Sometimes it is
> > handy to have fifos in directories while testing a program.
> 
> Is there something preventing your test-programs from just creating the 
> named pipe if it doesn't exist?
> 
> Just because something is in the file-system doesn't mean it should be 
> revision-controlled :)

Yes, you are right. Actually, the script itself creates the pipe if
there is none. Unfortunately there are some important owner and
permission issues which can only be done when running as root (what is
not the normal operation of the script). Therefore I'd like to have the
pipe there as is when checking out the devel environment.

But regardless of my direct needs, wouldn't it be at least an easy to
implement improvement to SVN, if it supports more kinds of special
files:
 - symbol links (already in 1.1)
 - fifos
 - devices (like in /dev/)

So this is a suggestion and a wish. :-)

Bye
  Hansi

-- 
Johann Glaser   <Jo...@gmx.at>
   Vienna University of Technology
       Electrical Engineering
____ http://www.johann-glaser.at/ ____


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

Re: Pipes (Fifos) stored in SVN

Posted by Helge Jensen <he...@slog.dk>.
Johann Glaser wrote:

> May I suggest to add another such little enhancement and also store
> named pipes (= FIFOs) (created e.g. with mkfifo(1)). Sometimes it is
> handy to have fifos in directories while testing a program.

Is there something preventing your test-programs from just creating the 
named pipe if it doesn't exist?

Just because something is in the file-system doesn't mean it should be 
revision-controlled :)

-- 
Helge

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