Skip Menu |

This queue is for tickets about the App-SD CPAN distribution.

Report information
The Basics
Id: 65777
Status: open
Priority: 0/
Queue: App-SD

People
Owner: Nobody in particular
Requestors: MSTEVENS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: unable to sync sd bugs following instructions
Attempted to checkout sd from git and sync bugs as per instructions on website. Got: mstevens@mstevens-desktop:~$ git clone git://github.com/bestpractical/sd.git Initialized empty Git repository in /home/mstevens/sd/.git/ remote: Counting objects: 9717, done. remote: Compressing objects: 100% (3340/3340), done. remote: Total 9717 (delta 5387), reused 9608 (delta 5332) Receiving objects: 100% (9717/9717), 1.13 MiB | 741 KiB/s, done. Resolving deltas: 100% (5387/5387), done. mstevens@mstevens-desktop:~$ cd sd mstevens@mstevens-desktop:~/sd$ git sd clone --from http://fsck.com/~jesse/sd-bugs/ You don't appear to have an sd.local-replica defined in your .git/config Setting it to '/home/mstevens/sd/.git/sd': git config --add sd.local-replica /home/mstevens/sd/.git/sd Setting your SD email address to your git email: git config --get user.email sd config user.email-address mstevens@etla.org Cloning issues from git://github.com/bestpractical/sd.git: sd clone --from github:git://github.com/bestpractical/sd.git Username for http://github.com/: mstevens GitHub API token for mstevens (from http://github.com/account): Setting replica's username in the config file Setting replica's secret_token in the config file github:git://github.com/bestpractical/sd.git: Finding matching tickets HTTP/1.1 404 Not Foundy ############################## 100.0% Est: 0:00 The target replica already exists. mstevens@mstevens-desktop:~/sd$ git sd ticket list mstevens@mstevens-desktop:~/sd$ which doesn't appear to have worked.
mstevens@mstevens-desktop:~/sd$ SD_REPO=$HOME/test-sd sd version sd 0.75
Subject: Re: [rt.cpan.org #65777] unable to sync sd bugs following instructions
Date: Wed, 16 Feb 2011 09:00:10 -0500
To: bug-App-SD [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
Show quoted text
> mstevens@mstevens-desktop:~/sd$ git sd clone --from > http://fsck.com/~jesse/sd-bugs/
It looks like sd is being too zealous about trying to sync from the github issue tracker even though you've given it the fsck.com url. I wonder if it's related to the initial lack of a local replica. If you try the command below, does it work? git sd pull --from http://fsck.com/~jesse/sd-bugs/ Show quoted text
> Cloning issues from git://github.com/bestpractical/sd.git: > > sd clone --from github:git://github.com/bestpractical/sd.git > > Username for http://github.com/: mstevens > GitHub API token for mstevens (from http://github.com/account): > Setting replica's username in the config file > Setting replica's secret_token in the config file > github:git://github.com/bestpractical/sd.git: Finding matching tickets > HTTP/1.1 404 Not Foundy ############################## 100.0% Est: > 0:00
The above says 404 Not Found because the github issue tracker is disabled for SD's repo. The canonical sources, I believe, are the fsck.com url and the App-SD queue on rt.cpan.org. Thomas
CC: MSTEVENS [...] cpan.org
Subject: Re: [rt.cpan.org #65777] unable to sync sd bugs following instructions
Date: Wed, 16 Feb 2011 14:04:00 +0000
To: "trs [...] bestpractical.com via RT" <bug-App-SD [...] rt.cpan.org>
From: Michael Stevens <mstevens [...] etla.org>
On Wed, Feb 16, 2011 at 09:00:14AM -0500, trs@bestpractical.com via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=65777 > >
> > mstevens@mstevens-desktop:~/sd$ git sd clone --from > > http://fsck.com/~jesse/sd-bugs/
> > It looks like sd is being too zealous about trying to sync from the > github issue tracker even though you've given it the fsck.com url. > > I wonder if it's related to the initial lack of a local replica. If you > try the command below, does it work? > > git sd pull --from http://fsck.com/~jesse/sd-bugs/
Tried that in the directory where I'd been testing before: mstevens@mstevens-desktop:~/sd$ git sd pull --from http://fsck.com/~jesse/sd-bugs/ Pulling from http://fsck.com/~jesse/sd-bugs/ You are trying to merge two different databases! This is NOT recommended. If you really want to do this, add '--force' to your commandline. Local database: a4ae44c9-01a5-459f-a0f9-78b9f949fb14 Remote database: 20991B4A-5863-11DD-A1B3-DDEA3D9AEBE7 Tried that in a new git clone of the sd tree: mstevens@mstevens-desktop:~/sd$ git sd pull --from http://fsck.com/~jesse/sd-bugs/ You don't appear to have an sd.local-replica defined in your .git/config Setting it to '/home/mstevens/sd/.git/sd': git config --add sd.local-replica /home/mstevens/sd/.git/sd No SD database was found at file:///home/mstevens/sd/.git/sd Type "sd help init" or "sd help environment" for tips on how to sort that out. Michael
Subject: Re: [rt.cpan.org #65777] unable to sync sd bugs following instructions
Date: Wed, 16 Feb 2011 09:09:43 -0500
To: bug-App-SD [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
Show quoted text
> Tried that in a new git clone of the sd tree: > > mstevens@mstevens-desktop:~/sd$ git sd pull --from > http://fsck.com/~jesse/sd-bugs/ > You don't appear to have an sd.local-replica defined in your .git/config > Setting it to '/home/mstevens/sd/.git/sd': > > git config --add sd.local-replica /home/mstevens/sd/.git/sd > > No SD database was found at file:///home/mstevens/sd/.git/sd > Type "sd help init" or "sd help environment" for tips on how to sort > that out.
From a fresh git clone, did you try running "git sd init" (as the above implies) and then "git sd pull --from http://fsck.com/~jesse/sd-bugs/"? Thomas
CC: MSTEVENS [...] cpan.org
Subject: Re: [rt.cpan.org #65777] unable to sync sd bugs following instructions
Date: Wed, 16 Feb 2011 15:06:39 +0000
To: "trs [...] bestpractical.com via RT" <bug-App-SD [...] rt.cpan.org>
From: Michael Stevens <mstevens [...] etla.org>
On Wed, Feb 16, 2011 at 09:09:54AM -0500, trs@bestpractical.com via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=65777 > >
> > Tried that in a new git clone of the sd tree: > > > > mstevens@mstevens-desktop:~/sd$ git sd pull --from > > http://fsck.com/~jesse/sd-bugs/ > > You don't appear to have an sd.local-replica defined in your .git/config > > Setting it to '/home/mstevens/sd/.git/sd': > > > > git config --add sd.local-replica /home/mstevens/sd/.git/sd > > > > No SD database was found at file:///home/mstevens/sd/.git/sd > > Type "sd help init" or "sd help environment" for tips on how to sort > > that out.
>
> >From a fresh git clone, did you try running "git sd init" (as the above
> implies) and then "git sd pull --from http://fsck.com/~jesse/sd-bugs/"?
This combination gives: mstevens@mstevens-desktop:~$ rm -rf sd mstevens@mstevens-desktop:~$ echo $SD_REPO mstevens@mstevens-desktop:~$ git clone git://github.com/bestpractical/sd.git Initialized empty Git repository in /home/mstevens/sd/.git/ remote: Counting objects: 9717, done. remote: Compressing objects: 100% (3340/3340), done. remote: Total 9717 (delta 5387), reused 9608 (delta 5332) Receiving objects: 100% (9717/9717), 1.13 MiB | 723 KiB/s, done. Resolving deltas: 100% (5387/5387), done. mstevens@mstevens-desktop:~$ cd sd mstevens@mstevens-desktop:~/sd$ git sd init You don't appear to have an sd.local-replica defined in your .git/config Setting it to '/home/mstevens/sd/.git/sd': git config --add sd.local-replica /home/mstevens/sd/.git/sd Setting your SD email address to your git email: git config --get user.email sd config user.email-address mstevens@etla.org Cloning issues from git://github.com/bestpractical/sd.git: sd clone --from github:git://github.com/bestpractical/sd.git Username for http://github.com/: mstevens GitHub API token for mstevens (from http://github.com/account): Setting replica's username in the config file Setting replica's secret_token in the config file github:git://github.com/bestpractical/sd.git: Finding matching tickets HTTP/1.1 404 Not Foundy ############################## 100.0% Est: 0:00 Your Prophet database already exists. mstevens@mstevens-desktop:~/sd$ git sd pull --from http://fsck.com/~jesse/sd-bugs/ Pulling from http://fsck.com/~jesse/sd-bugs/ You are trying to merge two different databases! This is NOT recommended. If you really want to do this, add '--force' to your commandline. Local database: 30a10d93-191f-4036-8564-569816ea263d Remote database: 20991B4A-5863-11DD-A1B3-DDEA3D9AEBE7