Author Topic: Github downloads?  (Read 4794 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 14939
  • Total likes: 334
  • Helpful: 146
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Github downloads?
« on: December 13, 2012, 01:03:08 AM »
Hmm - this is odd. I have used the download/upload feature on Github for a very long time for putting out releases of Simutrans-Experimental's Windows binaries and Pak128.Britain-Ex, but it seems that Github has changed and I can no longer find any way of managing these downloads. Does anyone know what has happened? The files are still there from their direct links, but I cannot upload any further files or delete these files. Has this functionality been removed, does anyone know, or am I missing something?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline sdog

Re: Github downloads?
« Reply #1 on: December 13, 2012, 05:53:25 AM »
i was trying to find it too today, and thought i was just a little bit stupid or forgetful.

https://github.com/blog/1302-goodbye-uploads

Quote
n addition to providing downloadable source code archives, GitHub previously allowed you to upload files (separate from the versioned files) in the repository, and make it available for download in the Downloads Tab. Supporting these types of uploads was a source of great confusion and pain – they were too similar to the files in a Git repository. As part of our ongoing effort to keep GitHub focused on building software, we are deprecating the Downloads Tab.

The ability to upload new files via the web site is disabled today.

Existing links to previously uploaded files will continue to work for the foreseeable future.

Repositories that already have uploads will continue to list their downloads for the next 90 days (tack on /downloads to the end of any repository to see them).

The Downloads API is officially deprecated and will be disabled in 90 days.

As a side-effect i read on the gihub blog they're offering free beer today in toronto, 19:30 at the Rhino, Queen & Dufferin (which is less than a 20 minutes walk from my home)


ps.: as a workaround some people suggested to use another git repository adding the compiled binaries. There are git project pages, controlled by a git repository i think, which might be quite suitable.
« Last Edit: December 13, 2012, 06:04:12 AM by sdog »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8654
  • Total likes: 283
  • Helpful: 226
  • Languages: De,EN,JP
Re: Github downloads?
« Reply #2 on: December 13, 2012, 08:56:46 AM »
I think the main reason (apart from confusion) was the misuse of this feature for just storing files (warez etc.)

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 14939
  • Total likes: 334
  • Helpful: 146
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Github downloads?
« Reply #3 on: December 13, 2012, 11:06:55 AM »
Ohh dear - that is rather sad. Thank you for spotting that, SDog - I did to try to find whether there had been any official removal, but it was not clear. I shall have to find somewhere else to put Simutrans-Experimental and Pak128.Britain-Ex binaries. One possible option is my server, but I worry that lots of people downloading from there might make downloads of the saved game slower for people actually playing. Can anyone recommend anywhere else?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 5
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Github downloads?
« Reply #4 on: December 13, 2012, 11:46:56 AM »
The download section of sourceforge?

It hosts standard and the major paksets, so I don't see why couldn't we have an Exp folder as well.

Mind that not even standard code is hosted there, just paksets sources and engine + paksets release.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 14939
  • Total likes: 334
  • Helpful: 146
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Github downloads?
« Reply #5 on: December 13, 2012, 12:04:35 PM »
I don't think that I have write access to the Sorceforge repository, though.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 5
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Github downloads?
« Reply #6 on: December 13, 2012, 12:24:55 PM »
That could be arranged with Dwachs, I suppose.

I know he can grant R/W access to the svn, possibly also to the release section.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4121
  • Total likes: 125
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Github downloads?
« Reply #7 on: December 13, 2012, 12:33:15 PM »
I can arrange that, James, you have to create an account over there and send me an PM.

Something like this can be done by the administrator of the simutrans project at sourceforge (currently prissi and I).
Parsley, sage, rosemary, and maggikraut.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8654
  • Total likes: 283
  • Helpful: 226
  • Languages: De,EN,JP
Re: Github downloads?
« Reply #8 on: December 13, 2012, 01:02:41 PM »
To avoid confusion I would rather suggest to James to create an experimental page at sourceforge. Then all experiemental (only) paksets could be hosted there too. James would be admin there and thus take the load form the standard maintainer. It could server than as a protal for experimental sets. (SF allows nowadays github repos too for source.)

But honestly, hosting on your server will not take much bandwidth (just think about transferring 80MB games) and will give you all kind of cool statistics that SF lacks.

Third option could be simutrans.com server. Ask Isaac for this.

Offline greenling

  • Lounger
  • *
  • Posts: 1729
  • Total likes: 1
  • Helpful: 15
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Github downloads?
« Reply #9 on: December 13, 2012, 06:20:55 PM »
That it a nice idea but sourceforge have sometimes often problems to download data.
Opening hours 20:00 - 23:00
(In Night from friday on saturday and saturday on sunday it possibly that i be keep longer in Forum.)
I am The Assistant from Pakfilearcheologist!
Working on a big Problem!

Offline sdog

Re: Github downloads?
« Reply #10 on: December 14, 2012, 11:09:40 PM »
James, i'll have a look into github pages now. If it works out i'll set one up for the simutrans organization on github, this might be a new place to host the experimental binaries.


The initial page should show up in about ten minutes or so under: (it's up now)
http://simutrans.github.com/simutrans-github-project-page
Tonight i'll see if it is sensible to link files from it, and if it can be done easily and automatically.

You might have noticed, that you are also a owner of the organization, and should be able to change things freely.*


*grammar question, would ought have been better in this context?
« Last Edit: December 15, 2012, 12:34:06 AM by sdog »

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 14939
  • Total likes: 334
  • Helpful: 146
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Github downloads?
« Reply #11 on: December 16, 2012, 07:51:19 PM »
Sdog,

thank you very much for doing this. What did you conclude about linking to files, etc.?

As to the grammar question, both are grammatically correct, but there is a subtle difference in meaning. "Should" in this context means that this is what you expect will happen if you are correct in your understanding: "ought" means that this is what will happen if other people do the right thing or equipment, etc. operates correctly. I suspect that "should" is closer to what you intended here.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline sdog

Re: Github downloads?
« Reply #12 on: December 17, 2012, 01:13:32 AM »
I'm linking to a page where i put links the ziped pak128-set to be downloaded on the page.

Changing something and pushing it to github refreshes the page in a few minutes.

I didn't manage to get server side html includes running, my intend was to just append the links to a simple file which in turn is included in the download page html. Without it the easiset way is to have the script cut off the tail of the html page, append the new text and the tail again.

Here's a bit more on experience with pak128:
http://forum.simutrans.com/index.php?topic=11097.0

To push to this repository you'll need to learn how to use deploy keys with your git program (tortoise?). A deploy key is a ssh key linked to a repository. You can not use the same one for different repositories. Thus you'd need to have either tortoise do it or set up your ssh configure file to use a different deploy key when connecting to different hosts. (howto, don't know if it's any use to win users though: http://www.johnnypez.com/reference/multiple-deploy-keys-with-git/)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8654
  • Total likes: 283
  • Helpful: 226
  • Languages: De,EN,JP
Re: Github downloads?
« Reply #13 on: December 17, 2012, 08:41:09 AM »
Why hassle with all this when you have sourceforge or even an own server for hosting?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 14939
  • Total likes: 334
  • Helpful: 146
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Github downloads?
« Reply #14 on: December 17, 2012, 11:31:05 PM »
Hmm, I think that Prissi may have a point. I have put them on my own server for now. Does anyone know how to get download statistics from an Apache server...?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4121
  • Total likes: 125
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Github downloads?
« Reply #15 on: December 18, 2012, 06:40:41 AM »
Why not use sourceforge? Create an account, send me the details -> ready for up & download. You do not even have to register simutrans-experimental as an extra project.
Parsley, sage, rosemary, and maggikraut.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 14939
  • Total likes: 334
  • Helpful: 146
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Github downloads?
« Reply #16 on: December 18, 2012, 11:37:09 AM »
Why not use sourceforge? Create an account, send me the details -> ready for up & download. You do not even have to register simutrans-experimental as an extra project.

I didn't initially because it was easier to use my server because that was already set up. Is SourceForge easier for statistics than one's own server?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4121
  • Total likes: 125
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Github downloads?
« Reply #17 on: December 18, 2012, 12:23:32 PM »
sourceforge has everything (or maybe less) built-in (statistics, mirrors etc)
Parsley, sage, rosemary, and maggikraut.