For single-dev projects that's a suitable solution, but i'm not sure it's that
useful in this case as PDL is a team effort, and this would require raising the
bar for everyone and not just one person. It could also lead to incomplete
synch situations. The mirroring scripts work to ensure that *all* details are
synched, not just pushes.
--
With regards,
Christian Walde
On Sun, 04 Mar 2018 07:03:00 +0100, Derek Lamb <de...@boulder.swri.edu> wrote:
Hi Christian,
If the developers implemented the instructions to push to both SourceForge and GitHub
at the same time >described here
(https://sourceforge.net/p/forge/documentation/GitHub%20Importer/#source-code), would
that >permit you to shut down your cron scripts and save yourself from the burden
of error emails?
Derek
On Mar 1, 2018, at 12:00 PM, Christian Walde <walde.christ...@gmail.com> wrote:
For those who aren't aware, or for those whose mind it has slipped:
I run on one of my servers a bunch of very simplicistic cron scripts that mirror the
SourceForge git >>repositories to github.
Particularly:
pdl.git
pdl-book.git
pdl-fftw.git
pdl-graphics-plplot.git
pdl-io-hdf5.git
pdl-linearalgebra.git
The command used for each is a simple:
[alias]
update-mirror = !git fetch -q origin && git push -q github
My cron looks like this:
MAILTO=walde.christ...@gmail.com
0-59/5 * * * * cd /root/pdl_repo_mirrors/pdl.git && git update-mirror
1-59/5 * * * * cd /root/pdl_repo_mirrors/pdl-linearalgebra.git && git
update-mirror
2-59/5 * * * * cd /root/pdl_repo_mirrors/pdl-book.git && git update-mirror
3-59/5 * * * * cd /root/pdl_repo_mirrors/pdl-graphics-plplot.git && git
update-mirror
4-59/5 * * * * cd /root/pdl_repo_mirrors/pdl-io-hdf5.git && git update-mirror
0-59/5 * * * * cd /root/pdl_repo_mirrors/pdl-fftw.git && git update-mirror
In recent times the SF git servers have become incredibly more flaky, to the point that on
saturday >>the mirroring between SF and GH sent me a whopping 229 error messages
about being unable to >>reach sf. Over the past two weeks the low tide was 20
messages per day.
The error messages i get are variations on this theme:
fatal: unable to connect to git.code.sf.net: git.code.sf.net[0: 216.105.38.16]:
errno=Connection >>timed out
fatal: read error: Connection reset by peer
fatal: remote error: access denied or repository not exported:
/p/pdl/pdl-linearalgebra
fatal: Could not read from remote repository. Please make sure you have the correct
access rights >>and the repository exists.
etc.
At this point i can make no guarantee that i'll be capable of recognizing when an actual
error >>happens, particularly since the unreliability of sf servers results in me
getting many varying types of >>error messages.
Also, it's a gigantic pain in the neck to skim and delete those messages every
day.
In lieu of an actual migration to github, if anyone here would like to offer an email
address i can >>configure as a target for these things instead, please do let
me know.
--With regards,
Christian Walde
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel