<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Anyone not on our sword-support mailing list, forwarded is a thread
with a user suggesting tool to work with git on our server. We've
talked about some of these already, but it seems like he has taken a
good amount of time to reply and wanted to give his efforts exposure
to all you guys.<br>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>Re: [sword-support] Pull request and forum registration</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Wed, 25 Feb 2015 18:00:05 -0300</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Albert De La Fuente <a class="moz-txt-link-rfc2396E" href="mailto:mail@albertdelafuente.com"><mail@albertdelafuente.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Reply-To:
</th>
<td>SWORD Support Volunteers
<a class="moz-txt-link-rfc2396E" href="mailto:sword-support@crosswire.org"><sword-support@crosswire.org></a>,
<a class="moz-txt-link-abbreviated" href="mailto:mail@albertdelafuente.com">mail@albertdelafuente.com</a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td>Troy A. Griffitts <a class="moz-txt-link-rfc2396E" href="mailto:scribe@crosswire.org"><scribe@crosswire.org></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">CC: </th>
<td>SWORD Support Volunteers
<a class="moz-txt-link-rfc2396E" href="mailto:sword-support@crosswire.org"><sword-support@crosswire.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<div dir="ltr">Dear Troy,<br>
<br>
Thank you very much for your answer. I will separate my answer
in two parts.<br>
<br>
The first part is regarding of git usage and learning curve, if
you are using the terminal for such, you could setup aliases for
that, for instance an alias "gitadd" for "git -u" (to add only
modified files). I agree that the switches could be more
intuitive. Another option is to have it integrated with your
development environment or IDE, that might help you a lot! I
tend to use it on the console. A git cheat sheet could help you,
I just quickly google git commands for svn users and I found
this [1]. I hope it helps. I'm confident that you will get used
to it soon =)<br>
<br>
Regarding the second part, using github, I imagined that you
might have that objection. The good thing about git is that you
might have several "remotes" and push to several servers at
once. In this way you could have "your own" sever and github as
both remotes (or as many servers as you want). If you see a pull
request worth including it you can accept it, you can review it
first and get it from the appropriate remote, and then push back
to both and all should be in sync. In that way you could use
github as a read-only mirror sort of repo and take advantage of
the features (and visibility) they offer. You could have
separated repos on your internal IT infrastructure and github
(i.e. within an organization).<br>
<br>
Other git related tools that worth looking into are: gitolite
[2] used by some interesting players, according to their site,
like Fedora, KDE, Gentoo and Kernel. Gerrit [3] a tool for code
review. Gitlab [4] and Gitorious [5], both are opensource git
web UIs which are very nice and have some github features. There
is also a Gitorious docker image for easy installing [6].<br>
<br>
I installed gitosis once on my NAS but since I'm a single user
at home I didn't really used it. I guess gitolite offers more
fine-grained permissions, but is a guess though. Regarding the
web UI, I guess Gitlab and Gitorious are your best options. Some
of the features of Gitlab are on this SO answer [7].<br>
<br>
Also I found Fossil which is a packed solution for git + web UI
[8]. Since the SWORD project is opensource, you could also
request most (or any) of the tools from Atlassian which are very
nice, and I think they could be hosted within your own IT
infrastructure.<br>
<br>
I would personally try the following:<br>
1) Try first having several remotes, it is the easiest solution,
and if it works fine for you then you are good to go [9][10][11]<br>
2) If not, then try the most active/popular from gitosis or
gitolite (as backends) and the most active/popular from gitlab
or gitorious (as web frontends).<br>
<br>
If you need help, please let me know.<br>
<br>
Best regards, and God bless you.<br>
Albert.<br>
<br>
[1] <a moz-do-not-send="true"
href="http://git-scm.com/course/svn.html">http://git-scm.com/course/svn.html</a><br>
[2] <a moz-do-not-send="true"
href="https://github.com/sitaramc/gitolite/">https://github.com/sitaramc/gitolite/</a><br>
[3] <a moz-do-not-send="true"
href="https://code.google.com/p/gerrit/">https://code.google.com/p/gerrit/</a><br>
[4] <a moz-do-not-send="true" href="https://about.gitlab.com/">https://about.gitlab.com/</a><br>
[5] <a moz-do-not-send="true" href="https://gitorious.org/">https://gitorious.org/</a><br>
[6] <a moz-do-not-send="true"
href="https://gitorious.org/gitorious/gitorious-docker/source/799c49967663e0c379fc1b4089a2eb8fb7ceb072">https://gitorious.org/gitorious/gitorious-docker/source/799c49967663e0c379fc1b4089a2eb8fb7ceb072</a>:<br>
[7] <a moz-do-not-send="true"
href="https://softwarerecs.stackexchange.com/questions/867/self-hosted-replacement-for-github">https://softwarerecs.stackexchange.com/questions/867/self-hosted-replacement-for-github</a><br>
[8] <a moz-do-not-send="true"
href="https://www.sqlite.org/debug1/doc/trunk/www/index.wiki">https://www.sqlite.org/debug1/doc/trunk/www/index.wiki</a><br>
[9] <a moz-do-not-send="true"
href="http://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes">http://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes</a><br>
[10] <a moz-do-not-send="true"
href="http://stackoverflow.com/a/3195446/1332764">http://stackoverflow.com/a/3195446/1332764</a><br>
[11] <a moz-do-not-send="true"
href="https://stackoverflow.com/questions/14290113/git-pushing-code-to-two-remotes">https://stackoverflow.com/questions/14290113/git-pushing-code-to-two-remotes</a><br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">Albert<br>
--- God's voice thunders in marvelous ways; he does great
things beyond our understanding. ---</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Feb 25, 2015 at 3:53 PM, Troy
A. Griffitts <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Dear Albert,<br>
<br>
Thank you for the suggestion. Many other developers have
also asked us to switch to using git. We take
suggestions with value. The fact is that there are two
different issues here: 1) git; 2) github. I have been
using git almost exclusing with my SWORD development
lately, through the svn-git bridge. I still don't like
git as much as SVN. I don't use branches all the time
while I am developing locally and it just seem nothing is
intuitive and every default for a command is not what I
would like as the default and have to provide unintuitive
flags I can never remember. :)Â But I'm sure that's just
my learning curve. I am trying though. Most people who
wish us to switch to git are really asking us to switch to
github. Github does provide a set of nice tools to allow
collaboration. The drawback to this though is, just like
sourceforge before it, github is an external organization
and CrossWire has existed long before sourceforge and
probably long after github. We wish to host our projects
on our own server. We have been experimenting with
gitosis on CrossWire, but this does not provide the nice
collaboration tools that github offers. We'd love to
hear if you have suggestions for what we might install on
our servers to provide these collaboration facilities?Â
In the mean time there are github mirrors of our SVN
repository. Greg Hellings (whom you cite below) is our
release manager for our stable branch and uses github
extensively, so he should see any pull requests. And
there is always the svn-git bridge if you simply like git
better for your daily development over svn.<br>
<br>
Thank you again for the suggestion. I hope my reply
gives you some insight into where we are with this. And
thank you for the encouragement,<br>
<br>
Troy
<div>
<div class="h5"><br>
 <br>
<br>
<br>
<div>On 02/25/2015 09:58 AM, Albert De La Fuente
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Dear brothers in Christ,<br>
<br>
In first place I want to thank you for your effort
in the Sword project. I am a FLOSS enthusiast user
and developer, and I found the fact of the project
being open source a great advantage.<br>
<br>
I noticed that you use your own SVN and I would
like to highlight that the mainstream FLOSS
community uses git+github. I found several
projects on top of Diatheke (hosted on Github), an
example would be [1], one of them even propose a
patch to add some great options do Diatheke, this
patch has not been included into the SVN [2]. I
don't know the reason for that, however if the
project would be hosted as an organization on
Github, probably those pull request would have
been merged already. Furthermore, I think that
other pull requests would be proposed.<br>
<br>
I would like to propose those changes [2] to be
included in the main branch, so they might be
available on a future release. I also would kindly
suggest you to consider using a Github
organization for the development of the Sword
project. Each component could have its own
separated repository (SWORD itself, Diatheke,
python-sword, migration tools, etc).<br>
<br>
On the other hand I tried to register on the forum
to post the content of this email there, but I
after the forum rules I get a 404 error: <u>The
requested resource
(/forums/mvnplugin/mvnforum/user/addmember.jsp)
is not available.</u><br>
<br>
Thank you very much once again, and God bless you
all.<br>
<br>
[1]: <a moz-do-not-send="true"
href="https://github.com/raphink/biblequote"
target="_blank">https://github.com/raphink/biblequote</a><br>
[2]: <a moz-do-not-send="true"
href="https://github.com/greg-hellings/sword/pull/1/files"
target="_blank">https://github.com/greg-hellings/sword/pull/1/files</a><br>
<br clear="all">
<div>
<div>
<div dir="ltr">Albert<br>
--- God's voice thunders in marvelous ways;
he does great things beyond our
understanding. ---</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
sword-support mailing list
<a moz-do-not-send="true" href="mailto:sword-support@crosswire.org" target="_blank">sword-support@crosswire.org</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
</div>
<br>
</body>
</html>