egelmex / TinkerWeb

2 stars 3 forks source link

Transfer the main repo to TinkerSoc organisation #79

Open graymalkin opened 9 years ago

graymalkin commented 9 years ago

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

egelmex commented 9 years ago

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 notifications@github.com 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 https://github.com/egelmex/TinkerWeb/issues/79.

graymalkin commented 9 years ago

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 commented 9 years ago

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 notifications@github.com 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 https://github.com/egelmex/TinkerWeb/issues/79#issuecomment-58875714.

graymalkin commented 9 years ago

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

IceQubed commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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 notifications@github.com 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 https://github.com/egelmex/TinkerWeb/issues/79#issuecomment-60735954.

graymalkin commented 9 years ago

Sounds good to me :+1:

graymalkin commented 9 years ago

Completely forgot about this over Christmas >.>

egelmex commented 9 years ago

Your not the only one...

On Mon Jan 05 2015 at 10:13:23 AM Simon Cooksey notifications@github.com wrote:

Completely forgot about this over Christmas >.>

— Reply to this email directly or view it on GitHub https://github.com/egelmex/TinkerWeb/issues/79#issuecomment-68689130.

graymalkin commented 9 years ago

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 commented 9 years ago

Got details on how to do this?

On Mon Jan 05 2015 at 3:53:17 PM Simon Cooksey notifications@github.com 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 https://github.com/egelmex/TinkerWeb/issues/79#issuecomment-68727132.

graymalkin commented 9 years ago

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 commented 9 years ago

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

graymalkin commented 9 years ago

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)