Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Creating a new branch in git

Hi David,

that makes sense - although it isn't working for me having renamed my branch 'noleary/develop':

nol@noltop:~/code/projects/paho/org.eclipse.paho.mqtt._javascript_ (noleary/develop)$ git push origin noleary/develop
Counting objects: 26, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (20/20), done.
Writing objects: 100% (22/22), 27.69 KiB, done.
Total 22 (delta 7), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database ./objects

fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
 ! [remote rejected] noleary/develop -> noleary/develop (n/a (unpacker error))
nol@noltop:~/code/projects/paho/org.eclipse.paho.mqtt._javascript_ (noleary/develop)$ 






On 1 February 2014 15:13, David M Williams <david_williams@xxxxxxxxxx> wrote:
By policy, most repositories are set up so it takes special action or web master assistance to create a new "permeant" branch ... BUT, any committer can create a new "topic branch" ... the format of the name just needs to be committerId/topic ... so, perhaps "nick/develop" will work for you? (The reason for this is that "permeant branches" should never be deleted, hence it is made "harder" to create them ... whereas if you create a topic branch with your committer ID as part of the name, then the system will not only allow you to create it, but you can delete it later).





From:        "Nicholas O'Leary" <nick.oleary@xxxxxxxxx>
To:        General development discussions for paho project <paho-dev@xxxxxxxxxxx>,
Date:        02/01/2014 09:05 AM
Subject:        [paho-dev] Creating a new branch in git
Sent by:        paho-dev-bounces@xxxxxxxxxxx




Hi,

I've been poking at the structure of the _javascript_ client project to get back to the point where the .js file in git can actually be used without running it through a maven build. This involved adding a very small wrapper for the node-based tests to use so the client can still use the browser-specific apis.

I've also added a _javascript_ compress task to the build so we have a -min.js version (30Kb)  as well as the original one (76kb).

I wanted to push this to a new branch (nick-develop) so that anyone with an interest could have a look to make sure we're happy for it to go into the main develop branch. However, when I try to push the new branch, I'm told I don't have the right permissions:

    error: insufficient permission for adding an object to repository database ./objects
    
    fatal: failed to write object
    error: unpack failed: unpack-objects abnormal exit
    To ssh://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt._javascript_.git
     ! [remote rejected] nick-develop -> nick-develop (n/a (unpacker error))
    error: failed to push some refs to 'ssh://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt._javascript_.git'


Does creating a new branch really need more permissions than I have as a committer?  If so, what is the expected work flow for this sort of thing? (I suspect I'm too used to the github work flow where this is second nature...)

Nick



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev



Back to the top