Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer the main repo to TinkerSoc organisation #79

Open
graymalkin opened this issue Oct 13, 2014 · 15 comments
Open

Transfer the main repo to TinkerSoc organisation #79

graymalkin opened this issue Oct 13, 2014 · 15 comments
Assignees
Labels

Comments

@graymalkin
Copy link
Collaborator

I think it would be good to have this repo in the TinkerSoc organisation, and keep personal forks for development. Thoughts?

@egelmex
Copy link
Owner

egelmex commented Oct 13, 2014

Yeah agreed, but I wouldn't want to move it for a little while, ben and rob
are only just starting to get the hang of git.

On Mon, Oct 13, 2014 at 10:30 AM, Simon Cooksey [email protected]
wrote:

I think it would be good to have this repo in the TinkerSoc organisation,
and keep personal forks for development. Thoughts?


Reply to this email directly or view it on GitHub
#79.

@graymalkin
Copy link
Collaborator Author

Well, we'd still be able to manage it in the organisation - it just keeps things a little better organised. I don't really mind either way, though.

@egelmex
Copy link
Owner

egelmex commented Oct 13, 2014

It's just dealing with upstreams and pull requests is a bit of a dick when
you move, as unless they refork from the new repo all the pull requests
will go to my fork.

On Mon, Oct 13, 2014 at 11:55 AM, Simon Cooksey [email protected]
wrote:

Well, we'd still be able to manage it in the organisation - it just keeps
things a little better organised. I don't really mind either way, though.


Reply to this email directly or view it on GitHub
#79 (comment).

@graymalkin
Copy link
Collaborator Author

ah, I see - fair enough. I'm in no hurry anyway, so whenever is fine :)

@IceQubed
Copy link
Contributor

It's no big deal for us to refork from the new group-managed repo. No real hurry but it is probably best long-term.

@graymalkin
Copy link
Collaborator Author

It'll mean fiddling about with your remotes in Git, I guess - but it should be okay. It's @egelmex's call, I'll leave it for him.

@egelmex
Copy link
Owner

egelmex commented Oct 28, 2014

Still agree we should do it, but would rather put it off till I have time
to sort out the infrastructure too, maybe over christmas?

On Tue, Oct 28, 2014 at 10:33 AM, Simon Cooksey [email protected]
wrote:

It'll mean fiddling about with your remotes in Git, I guess - but it
should be okay. It's @egelmex https://github.com/egelmex's call, I'll
leave it for him.


Reply to this email directly or view it on GitHub
#79 (comment).

@graymalkin
Copy link
Collaborator Author

Sounds good to me 👍

@graymalkin
Copy link
Collaborator Author

Completely forgot about this over Christmas >.>

@egelmex
Copy link
Owner

egelmex commented Jan 5, 2015

Your not the only one...

On Mon Jan 05 2015 at 10:13:23 AM Simon Cooksey [email protected]
wrote:

Completely forgot about this over Christmas >.>


Reply to this email directly or view it on GitHub
#79 (comment).

@graymalkin
Copy link
Collaborator Author

GitHub keeps the old url as a redirect for the new repo; e.g.

git clone https://github.com/egelmex/TinkerWeb
should be equivelant to
git clone https://github.com/TinkerSoc/TinkerWeb

post change.

It really could be worth making a script to automate building the website locally, and pushing the static content to a GitHub pages branch, as that hosting is free and almost as high capacity (certainly Slashdot/HaD-proof)

@egelmex
Copy link
Owner

egelmex commented Jan 5, 2015

Got details on how to do this?

On Mon Jan 05 2015 at 3:53:17 PM Simon Cooksey [email protected]
wrote:

GitHub keeps the old url as a redirect for the new repo; e.g.

git clone https://github.com/egelmex/TinkerWeb
should be equivelant to
git clone https://github.com/TinkerSoc/TinkerWeb

post change.

It really could be worth making a script to automate building the website
locally, and pushing the static content to a GitHub pages branch, as that
hosting is free and almost as high capacity (certainly Slashdot/HaD-proof)


Reply to this email directly or view it on GitHub
#79 (comment).

@graymalkin
Copy link
Collaborator Author

it would just be a case of pushing the contents of _site to a gh-pages branch.

We'd also need a CNAME file, as described here

Not sure on the git specifics for copying the contents of a folder to a given branch. Should be feasible, though.

@graymalkin
Copy link
Collaborator Author

Potentially we could have a Makefile too, so we can do things like

  • make quick to skip flickr
  • make full to build website in full
  • make serve to build and serve
  • make deploy to build and push to GitHub pages

@graymalkin
Copy link
Collaborator Author

Aha, someone has made a rakefile to do it:

require "rubygems"

desc "Deploy to Github Pages"
task :deploy do
  puts "## Deploying to Github Pages"

  puts "## Generating site"
  system "grunt build"

  cd "_site" do
    system "git add -A"

    message = "Site updated at #{Time.now.utc}"
    puts "## Commiting: #{message}"
    system "git commit -m \"#{message}\""

    puts "## Pushing generated site"
    system "git push"

    puts "## Deploy Complete!"
  end
end

See: http://www.aymerick.com/2014/07/22/jekyll-github-pages-bower-bootstrap.html (at the end)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants