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: Addressed comments Created July 25, 2014, 10:30 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/updateserver/manifests/init.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 lock_file="<%= base_dir %>/update_update_manifests.lock"
4
5 exec 9>"$lock_file"
6 if ! flock -n 9; then
7 exit 0
8 fi
9
10 <% repositories_to_sync.each do |repository| %>
11 hg pull -q -R "<%= base_dir %>/<%= repository %>"
12 <% end %>
13
14 export PYTHONPATH=/opt/sitescripts
15 python -m sitescripts.extensions.bin.updateUpdateManifests
16
17 rm -f "$lock_file"
OLDNEW
« no previous file with comments | « modules/updateserver/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld