Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Giorgos Keramidas
On 2007-08-31 23:10, Howard Goldstein <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas wrote:
>> I have been tinkering with scripts which pull changesets from
>> Perforce and commit them to 'clonable' Mercurial repositories (other
>> repoformats should be possible too).
>>
>> If there is a specific part of the Perforce tree you are interested
>> in, we can arrange with the people developing that part of the tree
>> to 'mirror' and/or export Perforce changesets to another format.
>
> I was looking for Pawel's ZFS code at //depot/user/pjd/zfs to see if I
> could MFC it for my own system but it occurs to me as I'm answering you
> that I ought to be able to csup what I need right out of the CURRENT and
> avoid the problem.

Sure, depending on the time it takes for changes to trickle into CVS
HEAD from //depot/user/pjd/zfs/... it may be sufficient to pull the
changes from a CVSup copy of HEAD :-)

> perforce must be pretty good as compared to everything else we can run
> for version control?

It does the job, and it's an advanced centralized SCM system, with many
nice features one would expect from this sort of an SCM tool :-)

> Thanks in advance for taking a whack at the problem.

You're welcome :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Howard Goldstein
Giorgos Keramidas wrote:
> On 2007-08-31 13:50, Howard Goldstein <[EMAIL PROTECTED]> wrote:
>> Dang. Like an idiot savant, perforce appears to be (channeling Yoda I
>> am?)  Time for a script to workaround perforce's needlessly
>> overcomplex stupidity.  Thanks for letting me know I'm beating my head
>> against the wall with the out-of-box tools...binary only at that.
> 
> I have been tinkering with scripts which pull changesets from Perforce
> and commit them to 'clonable' Mercurial repositories (other repoformats
> should be possible too).
> 
> If there is a specific part of the Perforce tree you are interested in,
> we can arrange with the people developing that part of the tree to
> 'mirror' and/or export Perforce changesets to another format.

I was looking for Pawel's ZFS code at //depot/user/pjd/zfs to see if I
could MFC it for my own system but it occurs to me as I'm answering you
that I ought to be able to csup what I need right out of the CURRENT and
avoid the problem.

perforce must be pretty good as compared to everything else we can run
for version control?   Needless to say it could use the thing you're
working on to aid in supplying anonymous access to it particularly
because you're working on a more general solution where maybe it can be
grabbed by git and cvsup as well as the repository system you're now
targeting. Thanks in advance for taking a whack at the problem.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Giorgos Keramidas
On 2007-08-31 13:50, Howard Goldstein <[EMAIL PROTECTED]> wrote:
> Dang. Like an idiot savant, perforce appears to be (channeling Yoda I
> am?)  Time for a script to workaround perforce's needlessly
> overcomplex stupidity.  Thanks for letting me know I'm beating my head
> against the wall with the out-of-box tools...binary only at that.

I have been tinkering with scripts which pull changesets from Perforce
and commit them to 'clonable' Mercurial repositories (other repoformats
should be possible too).

If there is a specific part of the Perforce tree you are interested in,
we can arrange with the people developing that part of the tree to
'mirror' and/or export Perforce changesets to another format.

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Giorgos Keramidas
On 2007-08-31 20:01, Mel <[EMAIL PROTECTED]> wrote:
>On Friday 31 August 2007 19:50:19 Howard Goldstein wrote:
>> Dang. Like an idiot savant, perforce appears to be (channeling Yoda I
>> am?)  Time for a script to workaround perforce's needlessly overcomplex
>> stupidity.  Thanks for letting me know I'm beating my head against the
>> wall with the out-of-box tools...binary only at that.
>
> I assume that since sources in perforce is work-in-progress that may
> or not become official work-in-progress (-current), download
> complexity is a plus.

Not really.  It's just the way Perforce works.

Even "work in progress" repositories are interesting things to tinker
with, since testing before something is finalized in an "official"
tree is easier this way :)

Perforce can be used for this sort of 'experimental cross-developer
testing', and its branching, merging and history support is quite fast,
elegant and featureful.  It just has a few points which are, to put it
mildly, 'annoying' if you are not used to the way Perforce works.

Having said that, the perforce.freebsd.org server has played an
instrumental role in keeping our CVS tree "clean" from feature-related
branches, and its usefulness to the Project should not be underestimated
just because of its (few) limitations :-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Kris Kennaway

Mel wrote:

On Friday 31 August 2007 19:50:19 Howard Goldstein wrote:

Kris Kennaway wrote:

Manolis Kiagias wrote:

Howard Goldstein wrote:

As the subject says, is there a straightforward way to retrieve a
directory tree from perforce.freebsd.org?  Clicking individual files in
the web interface is really tedious.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

It seems the required software for accessing perforce repositories is
available in ports:

/usr/ports/devel/perforce

I haven't tried it myself though. I don't even know if
perforce.freebsd.org allows anonymous access.  You can however read some
details on it here:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/p4-primer/index.html

If you do try, it please send a follow up post with results.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

No, it doesn't allow anonymous access (this isn't feasible due to the
way perforce works, i.e. maintaining all client state on the server).
I dont know of a way to extract a general perforce tree, although a
few of them (like trustedbsd) are exported via cvsup on I think
cvsup9.  I think you will have to ask whoever's branch you are looking
at for a copy of it.

Dang. Like an idiot savant, perforce appears to be (channeling Yoda I
am?)  Time for a script to workaround perforce's needlessly overcomplex
stupidity.  Thanks for letting me know I'm beating my head against the
wall with the out-of-box tools...binary only at that.


I assume that since sources in perforce is work-in-progress that may or not 
become official work-in-progress (-current), download complexity is a plus.




perforce just isn't intended for this purpose, it's meant for internal 
use within a (closed) organisation.  As great as it is for development 
with large numbers of branches, this is one of the important technical 
reasons why it's not suitable for primary FreeBSD distribution.


In principle the web front end could offer this kind of aggregation of 
files from a branch, maybe you should raise it as a feature request with 
perforce.com.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Mel
On Friday 31 August 2007 19:50:19 Howard Goldstein wrote:
> Kris Kennaway wrote:
> > Manolis Kiagias wrote:
> >> Howard Goldstein wrote:
> >>> As the subject says, is there a straightforward way to retrieve a
> >>> directory tree from perforce.freebsd.org?  Clicking individual files in
> >>> the web interface is really tedious.
> >>> ___
> >>> freebsd-questions@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >>> To unsubscribe, send any mail to
> >>> "[EMAIL PROTECTED]"
> >>
> >> It seems the required software for accessing perforce repositories is
> >> available in ports:
> >>
> >> /usr/ports/devel/perforce
> >>
> >> I haven't tried it myself though. I don't even know if
> >> perforce.freebsd.org allows anonymous access.  You can however read some
> >> details on it here:
> >>
> >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/p4-primer/index.html
> >>
> >> If you do try, it please send a follow up post with results.
> >>
> >>
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "[EMAIL PROTECTED]"
> >
> > No, it doesn't allow anonymous access (this isn't feasible due to the
> > way perforce works, i.e. maintaining all client state on the server).
> > I dont know of a way to extract a general perforce tree, although a
> > few of them (like trustedbsd) are exported via cvsup on I think
> > cvsup9.  I think you will have to ask whoever's branch you are looking
> > at for a copy of it.
>
> Dang. Like an idiot savant, perforce appears to be (channeling Yoda I
> am?)  Time for a script to workaround perforce's needlessly overcomplex
> stupidity.  Thanks for letting me know I'm beating my head against the
> wall with the out-of-box tools...binary only at that.

I assume that since sources in perforce is work-in-progress that may or not 
become official work-in-progress (-current), download complexity is a plus.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Howard Goldstein


Kris Kennaway wrote:
> Manolis Kiagias wrote:
>> Howard Goldstein wrote:
>>> As the subject says, is there a straightforward way to retrieve a
>>> directory tree from perforce.freebsd.org?  Clicking individual files in
>>> the web interface is really tedious.
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "[EMAIL PROTECTED]"
>>>
>>>
>>>   
>> It seems the required software for accessing perforce repositories is
>> available in ports:
>>
>> /usr/ports/devel/perforce
>>
>> I haven't tried it myself though. I don't even know if
>> perforce.freebsd.org allows anonymous access.  You can however read some
>> details on it here:
>>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/p4-primer/index.html
>>
>> If you do try, it please send a follow up post with results.
>>
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>>
>
> No, it doesn't allow anonymous access (this isn't feasible due to the
> way perforce works, i.e. maintaining all client state on the server). 
> I dont know of a way to extract a general perforce tree, although a
> few of them (like trustedbsd) are exported via cvsup on I think
> cvsup9.  I think you will have to ask whoever's branch you are looking
> at for a copy of it.
>
Dang. Like an idiot savant, perforce appears to be (channeling Yoda I
am?)  Time for a script to workaround perforce's needlessly overcomplex
stupidity.  Thanks for letting me know I'm beating my head against the
wall with the out-of-box tools...binary only at that.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Howard Goldstein


Manolis Kiagias wrote:
> Howard Goldstein wrote:
>   
>> As the subject says, is there a straightforward way to retrieve a
>> directory tree from perforce.freebsd.org?  Clicking individual files in
>> the web interface is really tedious.
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>>
>>
>>   
>> 
> It seems the required software for accessing perforce repositories is
> available in ports:
>
> /usr/ports/devel/perforce
>
> I haven't tried it myself though. I don't even know if
> perforce.freebsd.org allows anonymous access.  You can however read some
> details on it here:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/p4-primer/index.html
>
> If you do try, it please send a follow up post with results.
>
>   
Whatever the magical incantation for p4 is it's well hidden after 15
minutes of poking around various docs

cally:~$ p4 -H perforce.freebsd.org
Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to perforce failed.
perforce: host unknown.
cally:~$ p4 -p 1666 -H perforce.freebsd.org
Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to 1666 failed.
connect: 1666: Connection refused
cally:~$


I'm sure I'm missing something simple.  If anon access is supposed to be
denied by design it's broken because the browser portion allows access
to the files themselves, although laden with revision prettyfication.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Kris Kennaway

Manolis Kiagias wrote:

Howard Goldstein wrote:

As the subject says, is there a straightforward way to retrieve a
directory tree from perforce.freebsd.org?  Clicking individual files in
the web interface is really tedious.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  

It seems the required software for accessing perforce repositories is
available in ports:

/usr/ports/devel/perforce

I haven't tried it myself though. I don't even know if
perforce.freebsd.org allows anonymous access.  You can however read some
details on it here:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/p4-primer/index.html

If you do try, it please send a follow up post with results.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




No, it doesn't allow anonymous access (this isn't feasible due to the 
way perforce works, i.e. maintaining all client state on the server).  I 
dont know of a way to extract a general perforce tree, although a few of 
them (like trustedbsd) are exported via cvsup on I think cvsup9.  I 
think you will have to ask whoever's branch you are looking at for a 
copy of it.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Manolis Kiagias
Howard Goldstein wrote:
> As the subject says, is there a straightforward way to retrieve a
> directory tree from perforce.freebsd.org?  Clicking individual files in
> the web interface is really tedious.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>
>   
It seems the required software for accessing perforce repositories is
available in ports:

/usr/ports/devel/perforce

I haven't tried it myself though. I don't even know if
perforce.freebsd.org allows anonymous access.  You can however read some
details on it here:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/p4-primer/index.html

If you do try, it please send a follow up post with results.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to retrieve a directory tree from perforce.freebsd.org?

2007-08-31 Thread Howard Goldstein
As the subject says, is there a straightforward way to retrieve a
directory tree from perforce.freebsd.org?  Clicking individual files in
the web interface is really tedious.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"