Re: updating pkgsrc with git trouble

2009-09-25 Thread Siju George
On Thu, Sep 24, 2009 at 8:31 PM, Matthew Dillon
dil...@apollo.backplane.com wrote:
    Start over.

    rm -rf /usr/pkgsrc
    cd /usr
    make pkgsrc-create


Thanks it worked just fine :-)

--Siju


Re: updating pkgsrc with git trouble

2009-09-25 Thread Siju George
On Thu, Sep 24, 2009 at 8:31 PM, Matthew Dillon
dil...@apollo.backplane.com wrote:
    Start over.

    rm -rf /usr/pkgsrc
    cd /usr
    make pkgsrc-create


Afterwards

dfly-bkpsrv# cd pkgsrc/
dfly-bkpsrv# git describe
fatal: cannot describe '11839f634e490e4a4916393f754eb297c8726c65'

is this ok?

Thanks

--Siju


Re: updating pkgsrc with git trouble

2009-09-24 Thread Stathis Kamperis
2009/9/24 Siju George sgeorge...@gmail.com:
 Hi,
 ...
 Should I do

 #rm -rf /usr/pkgsrc
 # make pkgsrc-checkout

 to get a git repository instead of a cvs one?

Yes. And you only need to do this once.

Could we handle it with 'make upgrade' or it would be too intrusive
for the user?

Cheers,
Stathis


Re: updating pkgsrc with git trouble

2009-09-24 Thread Steve O'Hara-Smith
On Thu, 24 Sep 2009 09:01:54 +0300
Stathis Kamperis ekamp...@gmail.com wrote:

 2009/9/24 Siju George sgeorge...@gmail.com:
  Hi,
  ...
  Should I do
 
  #rm -rf /usr/pkgsrc
  # make pkgsrc-checkout
 
  to get a git repository instead of a cvs one?
 
 Yes. And you only need to do this once.
 
 Could we handle it with 'make upgrade' or it would be too intrusive
 for the user?

If it wiped /usr/pkgsrc/distfiles it would be a pain - if it
carefully preserved that then I think it would be fine.

-- 
Steve O'Hara-Smith  |   Directable Mirror Arrays
C:WIN  | A better way to focus the sun
The computer obeys and wins.|licences available see
You lose and Bill collects. |http://www.sohara.org/


Re: updating pkgsrc with git trouble

2009-09-24 Thread Siju George
On Thu, Sep 24, 2009 at 11:31 AM, Stathis Kamperis ekamp...@gmail.com wrote:
 2009/9/24 Siju George sgeorge...@gmail.com:
 Hi,
 ...
 Should I do

 #rm -rf /usr/pkgsrc
 # make pkgsrc-checkout

 to get a git repository instead of a cvs one?

 Yes. And you only need to do this once.


It doesnot seem to work :-(

dfly-bkpsrv# cd /usr/
dfly-bkpsrv# make pkgsrc-update
cd /usr/pkgsrc  git pull
fatal: Not a git repository (or any of the parent directories): .git
*** Error code 128

Stop in /usr.
dfly-bkpsrv# rm -rf pkgsrc/
recursively remove pkgsrc/? y
dfly-bkpsrv# make pkgsrc-checkout
cd /usr/pkgsrc  git checkout vendor
cd: can't cd to /usr/pkgsrc
*** Error code 2

Stop in /usr.
dfly-bkpsrv# mkdir pkgsrc
dfly-bkpsrv# make pkgsrc-checkout
cd /usr/pkgsrc  git checkout vendor
fatal: Not a git repository (or any of the parent directories): .git
*** Error code 128

Stop in /usr.
dfly-bkpsrv#

Thanks

--Siju


Re: updating pkgsrc with git trouble

2009-09-24 Thread Matthew Dillon

: Could we handle it with 'make upgrade' or it would be too intrusive
: for the user?
:
:   If it wiped /usr/pkgsrc/distfiles it would be a pain - if it
:carefully preserved that then I think it would be fine.
:
:-- 
:Steve O'Hara-Smith  |   Directable Mirror Arrays

It would be preserved by the git pull, but I think it would be
too intrusive.  make upgrade has always worked without network
connectivity before and I think it is important that it continue
to do so.

-Matt
Matthew Dillon 
dil...@backplane.com


Re: updating pkgsrc with git trouble

2009-09-24 Thread Peter Avalos
On Thu, Sep 24, 2009 at 08:27:42AM -0700, Matthew Dillon wrote:
 
 : Could we handle it with 'make upgrade' or it would be too intrusive
 : for the user?
 :
 : If it wiped /usr/pkgsrc/distfiles it would be a pain - if it
 :carefully preserved that then I think it would be fine.
 :
 :-- 
 :Steve O'Hara-Smith  |   Directable Mirror Arrays
 
 It would be preserved by the git pull, but I think it would be
 too intrusive.  make upgrade has always worked without network
 connectivity before and I think it is important that it continue
 to do so.
 

I agree with this.  I have local changes to my pkgsrc/ cvs dir and
wiping it out with make upgrade would be quite annoying.

--Peter


pgpUmruFq2xRy.pgp
Description: PGP signature