git question

Ok, I’m not really git fan. Actually, I don’t like at all… But I have to use because of some projects and now, that GNOME is moving to Git, more.

Anyway, I use it. But there are some workflows I don’t get well yet. I know the basis and maybe a bit more, but I’m far from a git-poweruser.

There are some docs and interesting threads about git in GNOME, but I have to learn a lot…

The thing is I like to collaborate with some project in which official git repos I haven’t account, so I try to use Github to public and manage my branches.

Although I don’t like git so much, I do like Github. It is a very good web gui for a DCVS and has awesome features…

But here is one of my use cases:

I try to make some changes on a Debian project (live-helper) which uses a git repository. But I work with a friend on some features and changes over the main project.

My first though was: I create a mirror of the upstream project on Guthub, my friend create a “fork” (kind of “git clone” but keeping parent-child relationship on Github) and then he can make so many branches he need and develop the different features and changes.

I like to have one branch where merge all the mature features, but also keeping the upstream mirror. So I create a branch of my mirror and I’m merging there the different features.

I think until here everything is right. If there is a better way, tell me, please.

Keep going… The problem is not all the features are interesting for the upstream projects, so the merged branch is not good place for get patches or merge from. But it is our good branch which we use for our project, so we need keep as is.

But some of our features are integrated in upstream. Which is good and thing we want. The problem is we we pull the changes from upstream, there are some changes identical, but merged or committed in other order. Some times pull a changed we push to upstream make some mess in our history…

And if we like to keep updated the different feature branches from upstream to keep working on this features but with valid and new code, from where we pull those changes?

From our mirror? the merged branch? is there another magic git way?

I know this could be very confusing. I think it’s easy to explain with graphics but my artistic skills are below zero…

But this graph could help (or not…)

I hope some git guru understand some of this uses case and give me some tips to doing better.

BTW, I couldn’t find a way to make more than one fork from one branch on Github, which would have been useful…

NOTE: I have my reasons to dislike git, but it’s now the point of this post. I don’t like flames and I don’t like argue about which DCVS is better, I just like to know how to use better this tool. Thanks 🙂

Guadalinex V6 Alpha is out

The first alpha version of Guadalinex V6 is avaible here.

There is an official note in Spanish where you can learn what it’s new in this early version.

Basically this is an Ubuntu Jaunty (based on the beta version) with some changes:

  • The artwork is different (but not the final one) to see you are in Guadalinex (mostly for the issues reports, so people don’t send us reports from Ubuntu or to Ubuntu from Guadalinex)
  • There is no language questions. The distro boots in Spanish from the beginning. From the boot to the desktop or the installer.
  • The installer is a fork of the Ubuntu one (Ubiquity). In previous versions of Guadalinex we changed the GUI to be easier for our users (at least simpler). So you can see the Jaunty installer but with less questions (all the locale ones, for example) but also with some more explanations and a interesting feature: a disk preview.  The disk preview is a tab on the partitioning step which let you see what you have in each disk and partition before to choose the way of partitioning the disk. This may help you to avoid some awful mistakes.
  • The application list is also different. We put the applications our users tell us in forums, mail lists and events. In some cases there are more applications (because we miss some functionalities in the default Ubuntu desktop) and some times it’s just an application swapped by one we think is more stable, is better translated or our users like more.
  • And there is also some applications or functionalities that were developed for a previous versions and we’ve updated to be able to used in V6/Jaunty. Actually the most of them are already on Launchpad and some are even able to be installed on Jaunty from our PPA

I know the distro is in Spanish, but probably some people here know Spanish. If you like to help, you can download it and give us some feedback.

If you like to report a general issue, probably it’s better to do it in Jaunty (we follow and try to fix issues from there). If you do that, please add tag named “guadalinex“, so we can notice it soon.

Creative Commons Attribution-ShareAlike 3.0 España
This work by Juanje Ojeda is licensed under a Creative Commons Attribution-ShareAlike 3.0 España.