www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - DWT repository moved to github

reply Jacob Carlborg <doob me.com> writes:
I've now moved the DWT repository to github. The old mercurial 
repository is split into several repository, all available under an 
organization: https://github.com/d-widget-toolkit

The dwt repository acts like a super repository. It has git submodules 
for the base, SWT Linux and Windows and snippets projects. It also 
contains the build script.

https://github.com/d-widget-toolkit/dwt

Use these commands to clone the repository and get all submodules:

$ git clone git://github.com/d-widget-toolkit/dwt.git
$ git submodule init
$ git submodule update

-- 
/Jacob Carlborg
Jan 07 2012
next sibling parent reply Gour <gour atmarama.net> writes:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sat, 07 Jan 2012 19:08:52 +0100
Jacob Carlborg <doob me.com> wrote:

 I've now moved the DWT repository to github.=20

Is DWT just moved its hosting or you will have some time to work on it further? Sincerely, Gour --=20 The spirit soul bewildered by the influence of false ego thinks=20 himself the doer of activities that are in actuality carried out=20 by the three modes of material nature. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Jan 08 2012
parent reply Jacob Carlborg <doob me.com> writes:
On 2012-01-08 15:04, Gour wrote:
 On Sat, 07 Jan 2012 19:08:52 +0100
 Jacob Carlborg<doob me.com>  wrote:

 I've now moved the DWT repository to github.

Is DWT just moved its hosting or you will have some time to work on it further? Sincerely, Gour

For now the repository has just moved, sorry. Hopefully this will attract contributors. I think I can squeeze in some time for merging pull requests. -- /Jacob Carlborg
Jan 08 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-01-09 08:50, Gour wrote:
 On Sun, 08 Jan 2012 20:45:24 +0100
 Jacob Carlborg<doob me.com>  wrote:

 For now the repository has just moved, sorry.

OK.
 Hopefully this will attract contributors. I think I can squeeze in
 some time for merging pull requests.

Maybe you can announce the move somewhere? I came to know about on cplusplus forums...

I don't know where else than the newsgroup I could announce it. I guess I could announce it on the "announce" group as well. -- /Jacob Carlborg
Jan 09 2012
prev sibling next sibling parent Gour <gour atmarama.net> writes:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 08 Jan 2012 20:45:24 +0100
Jacob Carlborg <doob me.com> wrote:

 For now the repository has just moved, sorry.=20

OK.
 Hopefully this will attract contributors. I think I can squeeze in
 some time for merging pull requests.

Maybe you can announce the move somewhere? I came to know about on cplusplus forums... Sincerely, Gour --=20 =46rom anger, complete delusion arises, and from delusion=20 bewilderment of memory. When memory is bewildered,=20 intelligence is lost, and when intelligence is lost=20 one falls down again into the material pool. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Jan 08 2012
prev sibling next sibling parent Gour <gour atmarama.net> writes:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 09 Jan 2012 13:23:32 +0100
Jacob Carlborg <doob me.com> wrote:

 I guess I could announce it on the "announce" group as well.

Right. Sincerely, Gour --=20 The senses are so strong and impetuous, O Arjuna,=20 that they forcibly carry away the mind even of a man=20 of discrimination who is endeavoring to control them. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Jan 09 2012
prev sibling parent reply kntroh <knt.roh gmail.com> writes:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh
Jan 09 2012
parent reply "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Monday, 9 January 2012 at 23:06:12 UTC, kntroh wrote:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available 
 under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh

To make a pull request your repository must be a fork of his, or someone who forked his, on github. It is possible to merge changes from any git repository clone however, if such is available over the web.
Jan 09 2012
parent reply Jacob Carlborg <doob me.com> writes:
On 2012-01-10 05:01, Jesse Phillips wrote:
 On Monday, 9 January 2012 at 23:06:12 UTC, kntroh wrote:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh

To make a pull request your repository must be a fork of his, or someone who forked his, on github. It is possible to merge changes from any git repository clone however, if such is available over the web.

What he said. It will be a lot of easier if you fork the repository on github. I get an automatic email sent to me when a pull request has been made and I can easily look at the commits and diffs on github. -- /Jacob Carlborg
Jan 09 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-01-10 05:01, Jesse Phillips wrote:
 On Monday, 9 January 2012 at 23:06:12 UTC, kntroh wrote:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh

To make a pull request your repository must be a fork of his, or someone who forked his, on github. It is possible to merge changes from any git repository clone however, if such is available over the web.

github. I get an automatic email sent to me when a pull request has been made and I can easily look at the commits and diffs on github.

I understand. I will create repository in github from fork of official and my repository in bitbucket then send pull request. -- kntroh
Jan 10 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-01-10 13:37, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-01-10 05:01, Jesse Phillips wrote:
 On Monday, 9 January 2012 at 23:06:12 UTC, kntroh wrote:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh

To make a pull request your repository must be a fork of his, or someone who forked his, on github. It is possible to merge changes from any git repository clone however, if such is available over the web.

github. I get an automatic email sent to me when a pull request has been made and I can easily look at the commits and diffs on github.

I understand. I will create repository in github from fork of official and my repository in bitbucket then send pull request. -- kntroh

You should theoretical be able to convert the mercurial repository to a git repository. Fork the new DWT repository at github and merge your changes from the mercurial repository and finally make a pull request. Hmm, or maybe not since I've split the single mercurial repository into several git repositories. I don't know. This git repository contains a tool that can convert a mercurial repository to a git repository, it's the same one I've used: http://repo.or.cz/w/fast-export.git -- /Jacob Carlborg
Jan 10 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-01-10 13:37, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-01-10 05:01, Jesse Phillips wrote:
 On Monday, 9 January 2012 at 23:06:12 UTC, kntroh wrote:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh

To make a pull request your repository must be a fork of his, or someone who forked his, on github. It is possible to merge changes from any git repository clone however, if such is available over the web.

github. I get an automatic email sent to me when a pull request has been made and I can easily look at the commits and diffs on github.

I understand. I will create repository in github from fork of official and my repository in bitbucket then send pull request.

I've converted your mercurial repository, split it and it merged cleanly. But the problem is that you have used an invalid, at least according to github, email address (devnull localhost). It seems to be possible to fix but I'm not sure if that would mess up the history. I can give it a try with some random address to see if it works. If it works I would need your email address, preferably the one you're going to use to register to github. It's possible to register several email addresses with one account at github. -- /Jacob Carlborg
Jan 10 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-01-10 13:37, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 On 2012-01-10 05:01, Jesse Phillips wrote:
 On Monday, 9 January 2012 at 23:06:12 UTC, kntroh wrote:
 I've now moved the DWT repository to github. The old mercurial
 repository is split into several repository, all available under an
 organization: https://github.com/d-widget-toolkit

Do I need to make my repository on github to send pull request? -- kntroh

To make a pull request your repository must be a fork of his, or someone who forked his, on github. It is possible to merge changes from any git repository clone however, if such is available over the web.

github. I get an automatic email sent to me when a pull request has been made and I can easily look at the commits and diffs on github.

I understand. I will create repository in github from fork of official and my repository in bitbucket then send pull request.

I've converted your mercurial repository, split it and it merged cleanly. But the problem is that you have used an invalid, at least according to github, email address (devnull localhost). It seems to be possible to fix but I'm not sure if that would mess up the history. I can give it a try with some random address to see if it works. If it works I would need your email address, preferably the one you're going to use to register to github. It's possible to register several email addresses with one account at github.

Thanks for your works. I've created account at github. Please use knt.roh gmail.com . -- kntroh https://github.com/kntroh
Jan 11 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-01-11 11:06, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 It seems to be possible to fix but I'm not sure if that would mess up
 the history. I can give it a try with some random address to see if it
 works. If it works I would need your email address, preferably the one
 you're going to use to register to github. It's possible to register
 several email addresses with one account at github.

Thanks for your works. I've created account at github. Please use knt.roh gmail.com .

Ok, I'll take care of that tonight. -- /Jacob Carlborg
Jan 11 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-01-11 11:06, kntroh wrote:
 Thanks for your works.
 I've created account at github. Please use knt.roh gmail.com .

I've merged your commits now. It says that you are the author and I am the committer, I hope that's ok. You can now merge from upstream to get the latest changes. -- /Jacob Carlborg
Jan 11 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 I've merged your commits now. It says that you are the author and I am
 the committer, I hope that's ok. You can now merge from upstream to get
 the latest changes.

I cloned DWT from github. Then I ran this command.
 git submodule update --init

Then I tried this command.
 git submodule foreach git pull origin master

That's ok. But, is it right command?
Jan 12 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-01-12 12:09, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 I've merged your commits now. It says that you are the author and I am
 the committer, I hope that's ok. You can now merge from upstream to get
 the latest changes.

I cloned DWT from github. Then I ran this command.
 git submodule update --init


git submodules refers to a specific commit and I haven't updated the submodules to the latest version. If you take a look at the dwt repository at github you can see a hash next to the name of the submodules. That hash refers to the commit in the repository the submoule points to. I guess the reason for this is because an update of a repository that is a submodule shouldn't be able to break the repository that includes the submodule. So in this case the dwt repository decides which commits the submodules should refer to.
 Then I tried this command.
 git submodule foreach git pull origin master

That's ok. But, is it right command?

No it isn't. -- /Jacob Carlborg
Jan 12 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-01-12 12:09, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 I've merged your commits now. It says that you are the author and I am
 the committer, I hope that's ok. You can now merge from upstream to get
 the latest changes.

I cloned DWT from github. Then I ran this command.
 git submodule update --init

Then I tried this command.
 git submodule foreach git pull origin master

That's ok. But, is it right command?

When you run "git pull" in a submodule it will grab the latest version from the origin in the repository and the submodule will now refer to that commit instead. -- /Jacob Carlborg
Jan 12 2012
parent reply kntroh <knt.roh gmail.com> writes:
== Quote from Jacob Carlborg (doob me.com)'s article
 When you run "git pull" in a submodule it will grab the latest version
 from the origin in the repository and the submodule will now refer to
 that commit instead.

I understand. I ran "git pull" on each submodule (base, win32), and checked that it was satisfactory. -- kntroh
Jan 12 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-01-12 14:29, kntroh wrote:
 == Quote from Jacob Carlborg (doob me.com)'s article
 When you run "git pull" in a submodule it will grab the latest version
 from the origin in the repository and the submodule will now refer to
 that commit instead.

I understand. I ran "git pull" on each submodule (base, win32), and checked that it was satisfactory.

To make everything correct I need to update the submodules to the latest commit. -- /Jacob Carlborg
Jan 12 2012