You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by Dave <sn...@gmail.com> on 2013/11/20 16:00:07 UTC
Error from Git when pushing code to Apache Git repo. Any ideas?
I'm following the steps described here
https://help.github.com/articles/working-with-subtree-merge to merge the
Usergrid code from GitHub to the ASF Git repo, and everything goes well
locally but when I try to push to origin I get this error from git:
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Error: list index out of range
To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '
https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
Any ideas what I might be doing wrong or how I might get past this "list
index out of range error." Google search did not turn up much info.
- Dave
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Lewis John Mcgibbney <le...@gmail.com>.
+1
Thanks for tying this one off and thanks to Jake for dealing with it.
On Tue, Nov 26, 2013 at 1:42 PM, Dave <sn...@gmail.com> wrote:
> Just to wrap up this thread...
>
> In case you missed it: the Usergrid code is now in Apache's Git (
> http://git.apache.org/) and is mirrored to GitHub (
> https://github.com/apache/incubator-usergrid).
>
> Thanks to Jake and the INFRA team for getting it done.
>
> - Dave
>
>
>
> On Wed, Nov 20, 2013 at 2:20 PM, Dave <sn...@gmail.com> wrote:
>
> > I asked INFRA to help with this on IRC and on JIRA:
> > https://issues.apache.org/jira/browse/INFRA-7018
> >
> > - Dave
> >
> >
> >
> > On Wed, Nov 20, 2013 at 1:29 PM, Dave <sn...@gmail.com> wrote:
> >
> >> I also tried this instead, where I merge usergrid in as a sub-directory
> >> then use git mv to move the files up one level. No joy. I still get the
> >> "remote: Error: list index out of range" error.
> >>
> >>
> >> git clone
> >> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >> cd incubator-usergrid
> >> git remote add -f usergrid https://github.com/usergrid/usergrid.git
> >> git merge -s ours --no-commit usergrid/master
> >> git read-tree --prefix=usergrid/ -u usergrid/master
> >>
> >>
> >> git commit -m "Subtree merged in usergrid"
> >>
> >> git mv usergrid/* .
> >> git rm -rf usergrid
> >>
> >> git commit -m "Move usergrid files up one level"
> >>
> >> I'm going to see help via the Infra IRC room and possibly JIRA.
> >>
> >> - Dave
> >>
> >>
> >>
> >> On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
> >>
> >>> These are the steps I took:
> >>>
> >>> git clone
> >>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>> cd incubator-usergrid
> >>>
> >>> git remote add -f usergrid
> https://github.com/usergrid/usergrid.git
> >>> git merge -s ours --no-commit usergrid/master
> >>> git read-tree --prefix=/ -u usergrid/master
> >>> git commit -m "Subtree merged in usergrid"
> >>>
> >>> git push origin master
> >>>
> >>> I think the problem may be in the read-tree command. By using
> --prefix=/
> >>> I'm doing a sub-tree merge but into the current directory and not a
> >>> sub-directory.
> >>>
> >>> - Dave
> >>>
> >>>
> >>>
> >>> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
> >>> lewis.mcgibbney@gmail.com> wrote:
> >>>
> >>>> what are you executing at CLI?
> >>>>
> >>>>
> >>>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
> >>>>
> >>>> > I'm following the steps described here
> >>>> > https://help.github.com/articles/working-with-subtree-merge to
> merge
> >>>> the
> >>>> > Usergrid code from GitHub to the ASF Git repo, and everything goes
> >>>> well
> >>>> > locally but when I try to push to origin I get this error from git:
> >>>> >
> >>>> > Counting objects: 5, done.
> >>>> > Delta compression using up to 8 threads.
> >>>> > Compressing objects: 100% (3/3), done.
> >>>> > Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
> >>>> > Total 3 (delta 1), reused 0 (delta 0)
> >>>> > remote: Error: list index out of range
> >>>> > To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>>> > ! [remote rejected] master -> master (pre-receive hook declined)
> >>>> > error: failed to push some refs to '
> >>>> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
> >>>> >
> >>>> > Any ideas what I might be doing wrong or how I might get past this
> >>>> "list
> >>>> > index out of range error." Google search did not turn up much info.
> >>>> >
> >>>> > - Dave
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> *Lewis*
> >>>>
> >>>
> >>>
> >>
> >
>
--
*Lewis*
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Jake Farrell <jf...@apache.org>.
https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git is the
master repository for the Apache Usergrid incubating project.
http://github.com/usergrid/usergrid is not associated in any way with the
ASF and commits there should not be directly brought over as the developer
would have not granted use to the ASF for that commit. If a patch is
created and attached to a jira issue then that may be accepted and
committed by a usergrid committer who has an ICLA on file.
-Jake
On Tue, Nov 26, 2013 at 10:37 AM, Shaozhuang Liu <st...@hibernate.org>wrote:
> what about http://github.com/usergrid/usergrid ?
>
> which one should be used as the main development repo?
> -------------------------
> Best Regards,
>
> Strong Liu <stliu at hibernate.org>
> http://about.me/stliu/bio
>
> On 2013Nov 26, at 11:22 PM, Jake Farrell <jf...@apache.org> wrote:
>
> > The primary repo is
> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >
> > mirrors
> > http://git.apache.org/incubator-usergrid.git
> > https://github.com/apache/incubator-usergrid
> >
> > If anyone has problems accessing this please any of any of the mentors
> know
> > and we can update permissions accordingly
> >
> > -Jake
> >
> >
> >
> > On Tue, Nov 26, 2013 at 8:42 AM, Dave <sn...@gmail.com> wrote:
> >
> >> Just to wrap up this thread...
> >>
> >> In case you missed it: the Usergrid code is now in Apache's Git (
> >> http://git.apache.org/) and is mirrored to GitHub (
> >> https://github.com/apache/incubator-usergrid).
> >>
> >> Thanks to Jake and the INFRA team for getting it done.
> >>
> >> - Dave
> >>
> >>
> >>
> >> On Wed, Nov 20, 2013 at 2:20 PM, Dave <sn...@gmail.com> wrote:
> >>
> >>> I asked INFRA to help with this on IRC and on JIRA:
> >>> https://issues.apache.org/jira/browse/INFRA-7018
> >>>
> >>> - Dave
> >>>
> >>>
> >>>
> >>> On Wed, Nov 20, 2013 at 1:29 PM, Dave <sn...@gmail.com> wrote:
> >>>
> >>>> I also tried this instead, where I merge usergrid in as a
> sub-directory
> >>>> then use git mv to move the files up one level. No joy. I still get
> the
> >>>> "remote: Error: list index out of range" error.
> >>>>
> >>>>
> >>>> git clone
> >>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>>> cd incubator-usergrid
> >>>> git remote add -f usergrid
> https://github.com/usergrid/usergrid.git
> >>>> git merge -s ours --no-commit usergrid/master
> >>>> git read-tree --prefix=usergrid/ -u usergrid/master
> >>>>
> >>>>
> >>>> git commit -m "Subtree merged in usergrid"
> >>>>
> >>>> git mv usergrid/* .
> >>>> git rm -rf usergrid
> >>>>
> >>>> git commit -m "Move usergrid files up one level"
> >>>>
> >>>> I'm going to see help via the Infra IRC room and possibly JIRA.
> >>>>
> >>>> - Dave
> >>>>
> >>>>
> >>>>
> >>>> On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
> >>>>
> >>>>> These are the steps I took:
> >>>>>
> >>>>> git clone
> >>>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>>>> cd incubator-usergrid
> >>>>>
> >>>>> git remote add -f usergrid
> >> https://github.com/usergrid/usergrid.git
> >>>>> git merge -s ours --no-commit usergrid/master
> >>>>> git read-tree --prefix=/ -u usergrid/master
> >>>>> git commit -m "Subtree merged in usergrid"
> >>>>>
> >>>>> git push origin master
> >>>>>
> >>>>> I think the problem may be in the read-tree command. By using
> >> --prefix=/
> >>>>> I'm doing a sub-tree merge but into the current directory and not a
> >>>>> sub-directory.
> >>>>>
> >>>>> - Dave
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
> >>>>> lewis.mcgibbney@gmail.com> wrote:
> >>>>>
> >>>>>> what are you executing at CLI?
> >>>>>>
> >>>>>>
> >>>>>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
> >>>>>>
> >>>>>>> I'm following the steps described here
> >>>>>>> https://help.github.com/articles/working-with-subtree-merge to
> >> merge
> >>>>>> the
> >>>>>>> Usergrid code from GitHub to the ASF Git repo, and everything goes
> >>>>>> well
> >>>>>>> locally but when I try to push to origin I get this error from git:
> >>>>>>>
> >>>>>>> Counting objects: 5, done.
> >>>>>>> Delta compression using up to 8 threads.
> >>>>>>> Compressing objects: 100% (3/3), done.
> >>>>>>> Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
> >>>>>>> Total 3 (delta 1), reused 0 (delta 0)
> >>>>>>> remote: Error: list index out of range
> >>>>>>> To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>>>>>> ! [remote rejected] master -> master (pre-receive hook declined)
> >>>>>>> error: failed to push some refs to '
> >>>>>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
> >>>>>>>
> >>>>>>> Any ideas what I might be doing wrong or how I might get past this
> >>>>>> "list
> >>>>>>> index out of range error." Google search did not turn up much info.
> >>>>>>>
> >>>>>>> - Dave
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> *Lewis*
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Shaozhuang Liu <st...@hibernate.org>.
what about http://github.com/usergrid/usergrid ?
which one should be used as the main development repo?
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio
On 2013Nov 26, at 11:22 PM, Jake Farrell <jf...@apache.org> wrote:
> The primary repo is
> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>
> mirrors
> http://git.apache.org/incubator-usergrid.git
> https://github.com/apache/incubator-usergrid
>
> If anyone has problems accessing this please any of any of the mentors know
> and we can update permissions accordingly
>
> -Jake
>
>
>
> On Tue, Nov 26, 2013 at 8:42 AM, Dave <sn...@gmail.com> wrote:
>
>> Just to wrap up this thread...
>>
>> In case you missed it: the Usergrid code is now in Apache's Git (
>> http://git.apache.org/) and is mirrored to GitHub (
>> https://github.com/apache/incubator-usergrid).
>>
>> Thanks to Jake and the INFRA team for getting it done.
>>
>> - Dave
>>
>>
>>
>> On Wed, Nov 20, 2013 at 2:20 PM, Dave <sn...@gmail.com> wrote:
>>
>>> I asked INFRA to help with this on IRC and on JIRA:
>>> https://issues.apache.org/jira/browse/INFRA-7018
>>>
>>> - Dave
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 1:29 PM, Dave <sn...@gmail.com> wrote:
>>>
>>>> I also tried this instead, where I merge usergrid in as a sub-directory
>>>> then use git mv to move the files up one level. No joy. I still get the
>>>> "remote: Error: list index out of range" error.
>>>>
>>>>
>>>> git clone
>>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>>>> cd incubator-usergrid
>>>> git remote add -f usergrid https://github.com/usergrid/usergrid.git
>>>> git merge -s ours --no-commit usergrid/master
>>>> git read-tree --prefix=usergrid/ -u usergrid/master
>>>>
>>>>
>>>> git commit -m "Subtree merged in usergrid"
>>>>
>>>> git mv usergrid/* .
>>>> git rm -rf usergrid
>>>>
>>>> git commit -m "Move usergrid files up one level"
>>>>
>>>> I'm going to see help via the Infra IRC room and possibly JIRA.
>>>>
>>>> - Dave
>>>>
>>>>
>>>>
>>>> On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
>>>>
>>>>> These are the steps I took:
>>>>>
>>>>> git clone
>>>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>>>>> cd incubator-usergrid
>>>>>
>>>>> git remote add -f usergrid
>> https://github.com/usergrid/usergrid.git
>>>>> git merge -s ours --no-commit usergrid/master
>>>>> git read-tree --prefix=/ -u usergrid/master
>>>>> git commit -m "Subtree merged in usergrid"
>>>>>
>>>>> git push origin master
>>>>>
>>>>> I think the problem may be in the read-tree command. By using
>> --prefix=/
>>>>> I'm doing a sub-tree merge but into the current directory and not a
>>>>> sub-directory.
>>>>>
>>>>> - Dave
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
>>>>> lewis.mcgibbney@gmail.com> wrote:
>>>>>
>>>>>> what are you executing at CLI?
>>>>>>
>>>>>>
>>>>>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
>>>>>>
>>>>>>> I'm following the steps described here
>>>>>>> https://help.github.com/articles/working-with-subtree-merge to
>> merge
>>>>>> the
>>>>>>> Usergrid code from GitHub to the ASF Git repo, and everything goes
>>>>>> well
>>>>>>> locally but when I try to push to origin I get this error from git:
>>>>>>>
>>>>>>> Counting objects: 5, done.
>>>>>>> Delta compression using up to 8 threads.
>>>>>>> Compressing objects: 100% (3/3), done.
>>>>>>> Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
>>>>>>> Total 3 (delta 1), reused 0 (delta 0)
>>>>>>> remote: Error: list index out of range
>>>>>>> To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>>>>>>> ! [remote rejected] master -> master (pre-receive hook declined)
>>>>>>> error: failed to push some refs to '
>>>>>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
>>>>>>>
>>>>>>> Any ideas what I might be doing wrong or how I might get past this
>>>>>> "list
>>>>>>> index out of range error." Google search did not turn up much info.
>>>>>>>
>>>>>>> - Dave
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Lewis*
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Jake Farrell <jf...@apache.org>.
The primary repo is
https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
mirrors
http://git.apache.org/incubator-usergrid.git
https://github.com/apache/incubator-usergrid
If anyone has problems accessing this please any of any of the mentors know
and we can update permissions accordingly
-Jake
On Tue, Nov 26, 2013 at 8:42 AM, Dave <sn...@gmail.com> wrote:
> Just to wrap up this thread...
>
> In case you missed it: the Usergrid code is now in Apache's Git (
> http://git.apache.org/) and is mirrored to GitHub (
> https://github.com/apache/incubator-usergrid).
>
> Thanks to Jake and the INFRA team for getting it done.
>
> - Dave
>
>
>
> On Wed, Nov 20, 2013 at 2:20 PM, Dave <sn...@gmail.com> wrote:
>
> > I asked INFRA to help with this on IRC and on JIRA:
> > https://issues.apache.org/jira/browse/INFRA-7018
> >
> > - Dave
> >
> >
> >
> > On Wed, Nov 20, 2013 at 1:29 PM, Dave <sn...@gmail.com> wrote:
> >
> >> I also tried this instead, where I merge usergrid in as a sub-directory
> >> then use git mv to move the files up one level. No joy. I still get the
> >> "remote: Error: list index out of range" error.
> >>
> >>
> >> git clone
> >> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >> cd incubator-usergrid
> >> git remote add -f usergrid https://github.com/usergrid/usergrid.git
> >> git merge -s ours --no-commit usergrid/master
> >> git read-tree --prefix=usergrid/ -u usergrid/master
> >>
> >>
> >> git commit -m "Subtree merged in usergrid"
> >>
> >> git mv usergrid/* .
> >> git rm -rf usergrid
> >>
> >> git commit -m "Move usergrid files up one level"
> >>
> >> I'm going to see help via the Infra IRC room and possibly JIRA.
> >>
> >> - Dave
> >>
> >>
> >>
> >> On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
> >>
> >>> These are the steps I took:
> >>>
> >>> git clone
> >>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>> cd incubator-usergrid
> >>>
> >>> git remote add -f usergrid
> https://github.com/usergrid/usergrid.git
> >>> git merge -s ours --no-commit usergrid/master
> >>> git read-tree --prefix=/ -u usergrid/master
> >>> git commit -m "Subtree merged in usergrid"
> >>>
> >>> git push origin master
> >>>
> >>> I think the problem may be in the read-tree command. By using
> --prefix=/
> >>> I'm doing a sub-tree merge but into the current directory and not a
> >>> sub-directory.
> >>>
> >>> - Dave
> >>>
> >>>
> >>>
> >>> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
> >>> lewis.mcgibbney@gmail.com> wrote:
> >>>
> >>>> what are you executing at CLI?
> >>>>
> >>>>
> >>>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
> >>>>
> >>>> > I'm following the steps described here
> >>>> > https://help.github.com/articles/working-with-subtree-merge to
> merge
> >>>> the
> >>>> > Usergrid code from GitHub to the ASF Git repo, and everything goes
> >>>> well
> >>>> > locally but when I try to push to origin I get this error from git:
> >>>> >
> >>>> > Counting objects: 5, done.
> >>>> > Delta compression using up to 8 threads.
> >>>> > Compressing objects: 100% (3/3), done.
> >>>> > Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
> >>>> > Total 3 (delta 1), reused 0 (delta 0)
> >>>> > remote: Error: list index out of range
> >>>> > To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> >>>> > ! [remote rejected] master -> master (pre-receive hook declined)
> >>>> > error: failed to push some refs to '
> >>>> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
> >>>> >
> >>>> > Any ideas what I might be doing wrong or how I might get past this
> >>>> "list
> >>>> > index out of range error." Google search did not turn up much info.
> >>>> >
> >>>> > - Dave
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> *Lewis*
> >>>>
> >>>
> >>>
> >>
> >
>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Dave <sn...@gmail.com>.
Just to wrap up this thread...
In case you missed it: the Usergrid code is now in Apache's Git (
http://git.apache.org/) and is mirrored to GitHub (
https://github.com/apache/incubator-usergrid).
Thanks to Jake and the INFRA team for getting it done.
- Dave
On Wed, Nov 20, 2013 at 2:20 PM, Dave <sn...@gmail.com> wrote:
> I asked INFRA to help with this on IRC and on JIRA:
> https://issues.apache.org/jira/browse/INFRA-7018
>
> - Dave
>
>
>
> On Wed, Nov 20, 2013 at 1:29 PM, Dave <sn...@gmail.com> wrote:
>
>> I also tried this instead, where I merge usergrid in as a sub-directory
>> then use git mv to move the files up one level. No joy. I still get the
>> "remote: Error: list index out of range" error.
>>
>>
>> git clone
>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>> cd incubator-usergrid
>> git remote add -f usergrid https://github.com/usergrid/usergrid.git
>> git merge -s ours --no-commit usergrid/master
>> git read-tree --prefix=usergrid/ -u usergrid/master
>>
>>
>> git commit -m "Subtree merged in usergrid"
>>
>> git mv usergrid/* .
>> git rm -rf usergrid
>>
>> git commit -m "Move usergrid files up one level"
>>
>> I'm going to see help via the Infra IRC room and possibly JIRA.
>>
>> - Dave
>>
>>
>>
>> On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
>>
>>> These are the steps I took:
>>>
>>> git clone
>>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>>> cd incubator-usergrid
>>>
>>> git remote add -f usergrid https://github.com/usergrid/usergrid.git
>>> git merge -s ours --no-commit usergrid/master
>>> git read-tree --prefix=/ -u usergrid/master
>>> git commit -m "Subtree merged in usergrid"
>>>
>>> git push origin master
>>>
>>> I think the problem may be in the read-tree command. By using --prefix=/
>>> I'm doing a sub-tree merge but into the current directory and not a
>>> sub-directory.
>>>
>>> - Dave
>>>
>>>
>>>
>>> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
>>> lewis.mcgibbney@gmail.com> wrote:
>>>
>>>> what are you executing at CLI?
>>>>
>>>>
>>>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
>>>>
>>>> > I'm following the steps described here
>>>> > https://help.github.com/articles/working-with-subtree-merge to merge
>>>> the
>>>> > Usergrid code from GitHub to the ASF Git repo, and everything goes
>>>> well
>>>> > locally but when I try to push to origin I get this error from git:
>>>> >
>>>> > Counting objects: 5, done.
>>>> > Delta compression using up to 8 threads.
>>>> > Compressing objects: 100% (3/3), done.
>>>> > Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
>>>> > Total 3 (delta 1), reused 0 (delta 0)
>>>> > remote: Error: list index out of range
>>>> > To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>>>> > ! [remote rejected] master -> master (pre-receive hook declined)
>>>> > error: failed to push some refs to '
>>>> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
>>>> >
>>>> > Any ideas what I might be doing wrong or how I might get past this
>>>> "list
>>>> > index out of range error." Google search did not turn up much info.
>>>> >
>>>> > - Dave
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> *Lewis*
>>>>
>>>
>>>
>>
>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Dave <sn...@gmail.com>.
I asked INFRA to help with this on IRC and on JIRA:
https://issues.apache.org/jira/browse/INFRA-7018
- Dave
On Wed, Nov 20, 2013 at 1:29 PM, Dave <sn...@gmail.com> wrote:
> I also tried this instead, where I merge usergrid in as a sub-directory
> then use git mv to move the files up one level. No joy. I still get the
> "remote: Error: list index out of range" error.
>
>
> git clone
> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> cd incubator-usergrid
> git remote add -f usergrid https://github.com/usergrid/usergrid.git
> git merge -s ours --no-commit usergrid/master
> git read-tree --prefix=usergrid/ -u usergrid/master
>
>
> git commit -m "Subtree merged in usergrid"
>
> git mv usergrid/* .
> git rm -rf usergrid
>
> git commit -m "Move usergrid files up one level"
>
> I'm going to see help via the Infra IRC room and possibly JIRA.
>
> - Dave
>
>
>
> On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
>
>> These are the steps I took:
>>
>> git clone
>> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>> cd incubator-usergrid
>>
>> git remote add -f usergrid https://github.com/usergrid/usergrid.git
>> git merge -s ours --no-commit usergrid/master
>> git read-tree --prefix=/ -u usergrid/master
>> git commit -m "Subtree merged in usergrid"
>>
>> git push origin master
>>
>> I think the problem may be in the read-tree command. By using --prefix=/
>> I'm doing a sub-tree merge but into the current directory and not a
>> sub-directory.
>>
>> - Dave
>>
>>
>>
>> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
>> lewis.mcgibbney@gmail.com> wrote:
>>
>>> what are you executing at CLI?
>>>
>>>
>>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
>>>
>>> > I'm following the steps described here
>>> > https://help.github.com/articles/working-with-subtree-merge to merge
>>> the
>>> > Usergrid code from GitHub to the ASF Git repo, and everything goes well
>>> > locally but when I try to push to origin I get this error from git:
>>> >
>>> > Counting objects: 5, done.
>>> > Delta compression using up to 8 threads.
>>> > Compressing objects: 100% (3/3), done.
>>> > Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
>>> > Total 3 (delta 1), reused 0 (delta 0)
>>> > remote: Error: list index out of range
>>> > To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>>> > ! [remote rejected] master -> master (pre-receive hook declined)
>>> > error: failed to push some refs to '
>>> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
>>> >
>>> > Any ideas what I might be doing wrong or how I might get past this
>>> "list
>>> > index out of range error." Google search did not turn up much info.
>>> >
>>> > - Dave
>>> >
>>>
>>>
>>>
>>> --
>>> *Lewis*
>>>
>>
>>
>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Dave <sn...@gmail.com>.
I also tried this instead, where I merge usergrid in as a sub-directory
then use git mv to move the files up one level. No joy. I still get the
"remote: Error: list index out of range" error.
git clone https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
cd incubator-usergrid
git remote add -f usergrid https://github.com/usergrid/usergrid.git
git merge -s ours --no-commit usergrid/master
git read-tree --prefix=usergrid/ -u usergrid/master
git commit -m "Subtree merged in usergrid"
git mv usergrid/* .
git rm -rf usergrid
git commit -m "Move usergrid files up one level"
I'm going to see help via the Infra IRC room and possibly JIRA.
- Dave
On Wed, Nov 20, 2013 at 10:08 AM, Dave <sn...@gmail.com> wrote:
> These are the steps I took:
>
> git clone
> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> cd incubator-usergrid
>
> git remote add -f usergrid https://github.com/usergrid/usergrid.git
> git merge -s ours --no-commit usergrid/master
> git read-tree --prefix=/ -u usergrid/master
> git commit -m "Subtree merged in usergrid"
>
> git push origin master
>
> I think the problem may be in the read-tree command. By using --prefix=/
> I'm doing a sub-tree merge but into the current directory and not a
> sub-directory.
>
> - Dave
>
>
>
> On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> what are you executing at CLI?
>>
>>
>> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
>>
>> > I'm following the steps described here
>> > https://help.github.com/articles/working-with-subtree-merge to merge
>> the
>> > Usergrid code from GitHub to the ASF Git repo, and everything goes well
>> > locally but when I try to push to origin I get this error from git:
>> >
>> > Counting objects: 5, done.
>> > Delta compression using up to 8 threads.
>> > Compressing objects: 100% (3/3), done.
>> > Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
>> > Total 3 (delta 1), reused 0 (delta 0)
>> > remote: Error: list index out of range
>> > To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
>> > ! [remote rejected] master -> master (pre-receive hook declined)
>> > error: failed to push some refs to '
>> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
>> >
>> > Any ideas what I might be doing wrong or how I might get past this "list
>> > index out of range error." Google search did not turn up much info.
>> >
>> > - Dave
>> >
>>
>>
>>
>> --
>> *Lewis*
>>
>
>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Dave <sn...@gmail.com>.
These are the steps I took:
git clone https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
cd incubator-usergrid
git remote add -f usergrid https://github.com/usergrid/usergrid.git
git merge -s ours --no-commit usergrid/master
git read-tree --prefix=/ -u usergrid/master
git commit -m "Subtree merged in usergrid"
git push origin master
I think the problem may be in the read-tree command. By using --prefix=/
I'm doing a sub-tree merge but into the current directory and not a
sub-directory.
- Dave
On Wed, Nov 20, 2013 at 10:02 AM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:
> what are you executing at CLI?
>
>
> On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
>
> > I'm following the steps described here
> > https://help.github.com/articles/working-with-subtree-merge to merge the
> > Usergrid code from GitHub to the ASF Git repo, and everything goes well
> > locally but when I try to push to origin I get this error from git:
> >
> > Counting objects: 5, done.
> > Delta compression using up to 8 threads.
> > Compressing objects: 100% (3/3), done.
> > Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
> > Total 3 (delta 1), reused 0 (delta 0)
> > remote: Error: list index out of range
> > To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> > ! [remote rejected] master -> master (pre-receive hook declined)
> > error: failed to push some refs to '
> > https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
> >
> > Any ideas what I might be doing wrong or how I might get past this "list
> > index out of range error." Google search did not turn up much info.
> >
> > - Dave
> >
>
>
>
> --
> *Lewis*
>
Re: Error from Git when pushing code to Apache Git repo. Any ideas?
Posted by Lewis John Mcgibbney <le...@gmail.com>.
what are you executing at CLI?
On Wed, Nov 20, 2013 at 3:00 PM, Dave <sn...@gmail.com> wrote:
> I'm following the steps described here
> https://help.github.com/articles/working-with-subtree-merge to merge the
> Usergrid code from GitHub to the ASF Git repo, and everything goes well
> locally but when I try to push to origin I get this error from git:
>
> Counting objects: 5, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (3/3), done.
> Writing objects: 100% (3/3), 480 bytes | 0 bytes/s, done.
> Total 3 (delta 1), reused 0 (delta 0)
> remote: Error: list index out of range
> To https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
> ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to '
> https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git'
>
> Any ideas what I might be doing wrong or how I might get past this "list
> index out of range error." Google search did not turn up much info.
>
> - Dave
>
--
*Lewis*