W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > January 2015

Re: github repo organization

From: Simon Steyskal <ssteyska@wu.ac.at>
Date: Tue, 20 Jan 2015 12:06:53 +0100
To: Eric Prud'hommeaux <eric@w3.org>
Cc: RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
Message-ID: <24031a99129bec2db9632620b89f0cac@wu.ac.at>
Hi!

I've performed those "git hacks", the only command I wasn't able to 
execute was -> git push origin :master.
  "remote: error: refusing to delete the current branch: 
refs/heads/master
  To https://github.com/w3c/data-shapes.git
   ! [remote rejected] master (deletion of the current branch prohibited)
  error: failed to push some refs to 
'https://github.com/w3c/data-shapes.git'"

but that's probably because I would have to select "gh-pages" as
default branch first.. (unfortunately I cannot access the settings,
although I accepted all your invites?)

cheers,
simon

---
Dipl.-Ing. Simon Steyskal
Institute for Information Business, WU Vienna

www: http://www.steyskal.info/  twitter: @simonsteys

> Am 2015-01-20 11:49, schrieb Eric Prud'hommeaux:
>> Given some hope that we start editing LDOM and ShExC in the near
>> future, I'm thinking about how we want to organize our git repo.
>> 
>> Anything we commit to a "gh-pages" branch shows up in w3c.github.io,
>> e.g. <https://w3c.github.io/indie-ui/indie-ui-events>. Also, if we
>> call our specs "index.html", we can address them by directory. I
>> propose a directory structure like this:
>> 
>>   data-shapes/data-shapes-ucr/index.html
>>   data-shapes/data-shapes-ldom/index.html
>>   data-shapes/data-shapes-shexc/index.html
>> 
>> We currently have a branch called "master" with
>>   data-shapes/shapes-ucr/spec.html
>>   data-shapes/README.md
>> 
>> README.md has 7 words in it so I'm not focusing too much on that.
>> shapes-ucr/spec.html is under active development which we'll need to
>> pause in order to type this:
>> 
>> git checkout -b gh-pages
>> git push --set-upstream origin gh-pages
>> git branch -D master
>> git push origin :master
>> git mv shapes-ucr data-shapes-ucr
>> git mv data-shapes-ucr/spec.html data-shapes-ucr/index.html
>> 
>> and select "gh-pages" as the default branch in
>> <https://github.com/w3c/data-shapes/settings>
>> 
>> Simon, you're the principle culprit actively editing the UC&R. What's
>> a good time for you to commit and keep your hands off the keyboard for
>> a few mins (or do the changes above)? (I figure those changes are non-
>> controversial, but I may be proven wrong.)
Received on Tuesday, 20 January 2015 11:07:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 January 2015 11:07:22 UTC