The International Simutrans Forum

 

Author Topic: Forking the Pak128.Britain-Ex repository on Github for Dutch pakset  (Read 3028 times)

0 Members and 1 Guest are viewing this topic.

Offline AvG

  • *
  • Posts: 308
I need to download several items from James Git-Repo.
I studied the Git-stuff, but it seems to be a complete language. IMHO very difficult to start with.
I tried to make my own account and yes , I got one.
Seems to be here : http://github.com/AvG/Simutrans-Experimental-DRC
I have no idea if it is OK and what to do now.
Can I transfer .png-files and .dat-files to my account? How to proceed?

Help on this matter would be MUCH appreciated.
AvG

Moderator note: changed title to add clarity.
« Last Edit: April 10, 2010, 03:02:05 PM by jamespetts »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18422
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Stuck on Exp-DRC 1
« Reply #1 on: April 10, 2010, 10:51:45 AM »
AvG,

are you referring to the Pak128.Britain-Ex repository, or the Simutrans-Experimental source code repository? If the former, this might be better on the Pak128.Britain board. In any event, how to proceed depends on what operating system that you are using. I do my development on Windows, so am familiar with Git GUI on Windows. Neroden uses Linux, and has recently learned how to use Git, so might be able to help you if you use Linux.

In outline, however, what you need to do is "fork" one of my repositories, rather than creating your own blank one. You would then "pull" from the forked repository, so that you have on your local hard drive a copy of all the files in my repository. You would then modify, add to and delete the files as you choose, and then "push" them to your own, forked repository. You can make multiple branches. So if, for example, you wanted to have your own pakset based on Pak128.Britain-Ex and also make some modifications to the existing Pak128.Britian-Ex, you could have two branches, one for your new pakset, and one for your modifications/bugfixes to Pak128.Britain-Ex. I could then add your repository and "pull" from your modified Pak128.Britain-Ex branch when I wanted to apply your bugfixes without getting all of the things that you are adding to make your own pakset. Likewise, whenever I updated Pak128.Britain-Ex, you could "pull" from my branch, and the changes would be merged with your modified branches.

I hope that this is helpful. Incidentally, what do you mean by "DRC" here?

Offline AvG

  • *
  • Posts: 308
Re: Stuck on Exp-DRC 1
« Reply #2 on: April 10, 2010, 02:56:18 PM »
James,
Thanks again for your answer.

First the easiest part:
- DRC stands for Dutch Reality Connection

- Maybe, with respect of the repository-matter, I better cut it in parts.
I am running Windows XP.
How can I "fork" your repository and download your files? If I have them on my PC I can go on.
AvG

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18422
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Stuck on Exp-DRC 1
« Reply #3 on: April 10, 2010, 03:00:55 PM »
AvG,

ahh, thank you for the clarification! DRC is the new pakset on which you are working? It is intended to be to the Netherlands what Pak128.Britain-Ex is to the UK? It may be better to give it a name in the same series as other paksets - perhaps Pak128.Dutch? That might make it easier for people to understand what you mean. However, since this is a pakset query, I shall move this to the Pak128.Britain board (as it it that pakset that you are seeking to fork).

The best way to create a fork is to use the web interface on Github itself. Go to my repository and use the "fork" button to create your own fork. You can then pull that (download and install Git GUI to do that) and make changes as necessary. Have you managed to find the tutorial for Git on Windows?

Offline AvG

  • *
  • Posts: 308
Re: Forking the Pak128.Britain-Ex repository on Github for Dutch pakset
« Reply #4 on: April 11, 2010, 12:19:03 PM »
James,
DRC is not a specific country-bound Pak-set.
It will be sort of an add-on on existing sets, with lots of changes w.r.t. the economical side. It will also add a lot of early (1900) vehicles.

Gonna try to fork now!!
Thanks for your help.
AvG

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18422
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Forking the Pak128.Britain-Ex repository on Github for Dutch pakset
« Reply #5 on: April 11, 2010, 12:25:11 PM »
Shall look forward to seeing your efforts!