[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scst-devel
Subject:    Re: [Scst-devel] Sourceforge Source Code vs Github Source Code
From:       Gilbert Standen <gilstanden () hotmail ! com>
Date:       2020-11-20 20:34:24
Message-ID: SN6PR01MB4064A72E5CE478B63B0C0F95CAFF0 () SN6PR01MB4064 ! prod ! exchangelabs ! com
[Download RAW message or body]

That's what I thought.  Thanks
________________________________
From: Bart Van Assche <bvanassche@acm.org>
Sent: Friday, November 20, 2020 2:29 PM
To: Gilbert Standen <gilstanden@hotmail.com>; scst-devel@lists.sourceforge.net \
                <scst-devel@lists.sourceforge.net>
Subject: Re: [Scst-devel] Sourceforge Source Code vs Github Source Code

On 11/20/20 11:32 AM, Gilbert Standen wrote:
> Is the sourceforge code always at the same revision as the github code,
> or does sourceforge run ahead of the github ?

Hi Gilbert,

Usually I apply patches to the SourceForge Subversion repository first.
Next I run a script that applies the same patch to the github
repository. Yes, the SourceForge repo runs ahead of the github repo but
usually not more than one minute :-)

That script is as follows:
#!/bin/bash
cd ~/software/scst.git || exit $?
git checkout master || exit $?
git svn fetch || exit $?
for b in svn-3.0.x svn-3.1.x svn-3.2.x svn-3.3.x svn-3.4.x svn-trunk; do
     c=${b#svn-}
     git fetch . "remotes/$c:$b" || exit $?
done
git checkout master &&
     git merge --no-edit svn-trunk &&
     git push github-bva

Bart.


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: \
rgb(0, 0, 0);"> That's what I thought.&nbsp; Thanks<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" \
style="font-size:11pt" color="#000000"><b>From:</b> Bart Van Assche \
&lt;bvanassche@acm.org&gt;<br> <b>Sent:</b> Friday, November 20, 2020 2:29 PM<br>
<b>To:</b> Gilbert Standen &lt;gilstanden@hotmail.com&gt;; \
scst-devel@lists.sourceforge.net &lt;scst-devel@lists.sourceforge.net&gt;<br> \
<b>Subject:</b> Re: [Scst-devel] Sourceforge Source Code vs Github Source Code</font> \
<div>&nbsp;</div> </div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 11/20/20 11:32 AM, Gilbert Standen wrote:<br>
&gt; Is the sourceforge code always at the same revision as the github code, <br>
&gt; or does sourceforge run ahead of the github ?<br>
<br>
Hi Gilbert,<br>
<br>
Usually I apply patches to the SourceForge Subversion repository first. <br>
Next I run a script that applies the same patch to the github <br>
repository. Yes, the SourceForge repo runs ahead of the github repo but <br>
usually not more than one minute :-)<br>
<br>
That script is as follows:<br>
#!/bin/bash<br>
cd ~/software/scst.git || exit $?<br>
git checkout master || exit $?<br>
git svn fetch || exit $?<br>
for b in svn-3.0.x svn-3.1.x svn-3.2.x svn-3.3.x svn-3.4.x svn-trunk; do<br>
&nbsp;&nbsp;&nbsp;&nbsp; c=${b#svn-}<br>
&nbsp;&nbsp;&nbsp;&nbsp; git fetch . &quot;remotes/$c:$b&quot; || exit $?<br>
done<br>
git checkout master &amp;&amp;<br>
&nbsp;&nbsp;&nbsp;&nbsp; git merge --no-edit svn-trunk &amp;&amp;<br>
&nbsp;&nbsp;&nbsp;&nbsp; git push github-bva<br>
<br>
Bart.<br>
</div>
</span></font></div>
</body>
</html>


[Attachment #4 (--===============2025338708402370978==)]


_______________________________________________
Scst-devel mailing list
https://lists.sourceforge.net/lists/listinfo/scst-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic