Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/updateserver/templates/update_update_manifests.erb

Issue 5071748311547904: Issue 1094 - Generate update manifests on the update server (Closed)
Patch Set: Created July 24, 2014, 2:16 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2
3 run_file="/var/run/update_update_manifests"
mathias 2014/07/25 07:04:28 At http://mywiki.wooledge.org/BashFAQ/045 please f
Felix Dahlke 2014/07/25 09:52:01 Done.
4
5 if [[ -f $run_file ]]; then
6 exit 0
7 fi
8
9 echo "$$" >> "$run_file"
10
11 <% repositories_to_sync.each do |repository| %>
12 hg pull -q -u -R <%= base_dir %>/<%= repository %>
13 <% end %>
14
15 export PYTHONPATH=/opt/sitescripts
16 python -m sitescripts.extensions.bin.updateUpdateManifests
17
18 rm -f "$run_file"
OLDNEW
« modules/updateserver/manifests/init.pp ('K') | « modules/updateserver/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld