[bind10-dev] Some git suggestions

Michal 'vorner' Vaner michal.vaner at nic.cz
Fri Oct 8 10:44:00 UTC 2010


Hello

On Thu, Oct 07, 2010 at 02:51:49PM -0500, Michael Graff wrote:
> > Also, I'd like to have a prefix for „dirty“ branches ‒ they would be much like
> > the „anything else“. However, it is generally considered to be rude to rewrite
> > [ ... ]
> 
> I don't know what you mean...

Well, git allows me to rewrite history, like reorder commits, split them or
merge them together, so when I write code, commit, then write more, commit and
then I find out I need to fix a comment of the code of the first commit. So I
can create another single-line commit, but it is just noise in the history. Or I
could commit it with some other, unrelated code, but it does not seem right. So
the thing I want to do is put it into the first commit and rewrite the history.

But if I do it with a branch that someone has a copy of, I make it problematic
for him. So it is considered rude to rewrite history of published branch. So I
would like to have a private branch to synchronize between machines I use and to
let others see what I do, but make it clear that these bad things can happen
there. So I suggest to have a „dirty/“ prefix, meaning „this is unfinished and
odd things may happen here, be warned if you make a copy“.

However, it doesn't probably have to be in the guide, it is not public anyway.

> > The „regular basis“ by which we push, should it be in the post-push hook, like
> > it is synced immediately?
> 
> I'm not certain.  Do you think it should be a post-push hook?  I don't
> see why it could not be.

Yes, I do, it makes more sense to:
• Publish the changes right away, no need to delay half an hour until a cron
  task is run.
• No need to push when there are no changes, but if we push periodically, it
  will happen.

> Thanks for reading it and commenting.  :)  Would you like to fork the
> git repository that page is in and make changes directly?  :)

Yes, if you don't mind. Where do you find it?

Thank you

-- 
Anyone seen smoking will be considered on fire and will be put out immediately.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20101008/c72a68d9/attachment.bin>


More information about the bind10-dev mailing list