Changes between Initial Version and Version 1 of Ticket #1845, comment 1


Ignore:
Timestamp:
04/28/13 18:12:51 (6 years ago)
Author:
dscho
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1845, comment 1

    initial v1  
    11The advantage now, of course, is that we get all the files that are there, not just the ones we can reach directly or indirectly via http://imagej.nih.gov/ij/index.html. 
    22 
    3 To make things a bit nicer for ourselves (while I pour hours and hours into this ticket, I might just as well improve things for our own benefit), let's put things into a Git repository. 
     3To make things a bit nicer for ourselves, let's put things into a Git repository. 
    44 
    55So this is what I have done so far: 
     
    1111* Then I update the Git repository for the complete update site, adding a merge between the previous state and the imported ''.tgz'' file. 
    1212 
    13 To determine the best time for this to run (I was told to use "the off hours" with a hint that I should heed both US and EU which is funny because I am European so I rarely forget that there are more than four timezones), I checked the timestamp of the ''ij.tgz'' file. From an awfully small ''n'' I deduce that the job is run at half past midnight by {{{cron}}} and that it runs for a little less than four minutes. Of course, the server is misconfigured to show the time in UTC (which it still calls GMT which is funny given that we're living in the 21st century already for twelve years now) and does not show that timestamp in local time. My best bet was to leave things at when they used to run: five past one in the morning (local time, which is still one and a half hours after the cronjob starts). And I removed the noon mirroring which now means that whenever there are changes on the website, the mirror is out-of-date for most of the day. 
     13To determine the best time for this to run (I was told to use "the off hours" with a hint that I should heed both US and EU), I checked the timestamp of the ''ij.tgz'' file. From an awfully small ''n'' I deduce that the job is run at half past midnight by {{{cron}}} and that it runs for a little less than four minutes. My best bet was to leave things at when they used to run: five past one in the morning (local time, which is still one and a half hours after the cronjob starts). And I removed the noon mirroring which now means that whenever there are changes on the website, the mirror is out-of-date for most of the day. 
    1414 
    1515All of this can be found here: 
    1616 
    1717    http://jenkins.imagej.net/job/ImageJ-1.x-website-mirror/ 
    18  
    19 I Cc:ed the only helpful guy from the other side of this mirror business. 
    20  
    21 To make all of this robust, I spent all morning on this, in total 3.5 hours now. I'm glad nobody on the other side had to spend this much time on the issue, though, because it gives me that warm and cozy feeling of being a good administrator. 
    22  
    23 Whether it will really work, of course, we will only see tomorrow. Cross your fingers. Oh well, I'll cross them myself.