SVN is no longer in use, it is still there, but is not now being updated with new commits. I have not been able to find any info yet in the Ros wiki for the new git repository. So here is a quick and rough guide to getting the latest source.
1. First download and install TortoiseGit from https://tortoisegit.org/ and also git for Windows from https://git-for-windows.github.io/
2. Choose a folder for the source tree and then within it, right click. In the drop down menu select 'Git Clone' and enter this url https://github.com/reactos/reactos.git, this will create a 'reactos' folder and download the current source tree.
I have successfully downloaded the source via this method. I tried to build a bootcd, but it failed with a sub command failure. I have not yet found out how to updated my local tree with git.
If anyone can see that this info is incorrect, then please post the correct method for downloading with git.
EDIT:
I have now undated my Layman's guide, to replace SVN with Git. Unix svn section is still to be done.
A quick & rough guide to getting the source from reactos.git
Moderator: Moderator Team
A quick & rough guide to getting the source from reactos.git
Please keep the Windows classic 9x/2000 look and feel.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
-
- Posts: 11
- Joined: Mon Nov 07, 2016 3:29 am
Re: A quick & rough guide to getting the source from reactos
It seems to be (at least) at ReactOS Git For Dummies.oldman wrote:the Ros wiki for the new git repository.
----
My question is: how to easily create a shallow local repository?
I start with
Code: Select all
git clone --branch master --depth 1 git://git.reactos.org/reactos.git/
Then I want all new Git history (which is not in SVN), thus rather
Code: Select all
--depth=100
Then I want to include the most recent tag (= "0.4.7-dev") so
Code: Select all
git describe
Code: Select all
--depth=600
Is there an easy way to find out how much of backward history I need to retrieve?
What would be the Git commands to find and retrieve the "exact" wanted history length?
And preferably with Git for Windows 2.10.0, the last version for Windows XP (hence ReactOS).
Thanks.
Last edited by Serge Gautherie on Wed Oct 18, 2017 4:54 pm, edited 1 time in total.
Re: A quick & rough guide to getting the source from reactos
I cannot help!Serge Gautherie wrote: Is there an easy way to find out how much of backward history I need to retrieve ?
How to find and retrieve with Git commands ?
And preferably with Git for Windows 2.10.0, the last version for Windows XP (hence ReactOS).
Thanks.
But are these two links of any use to you?
https://git-scm.com/docs/
https://git-scm.com/book/en/v2/Git-Basi ... it-History
Please keep the Windows classic 9x/2000 look and feel.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
-
- Posts: 11
- Joined: Mon Nov 07, 2016 3:29 am
Re: A quick & rough guide to getting the source from reactos
Not as is: which commands apply to a remote repository and how to use them for my purpose?oldman wrote:are these two links of any use to you?
I rephrased my question as "What would be the Git commands to find and retrieve the "exact" wanted history length?".
---
In the meantime, I used the latest build label ("0.4.7-dev-634") as a hint.
Fttb, "--depth=634" worked good enough, though it retrieved 935 commits actually. (Better than 80+k.)
So, this is not perfect and won't scale very well after we move to "0.4.8-dev-NNN".
Who is online
Users browsing this forum: No registered users and 21 guests