<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://code.secondbit.org/infra/codestorage/hg-repo-sync/</link>
    <language>en-us</language>

    <title>infra/codestorage/hg-repo-sync Changelog</title>
    <description>infra/codestorage/hg-repo-sync Changelog</description>
    <item>
    <title>[default] Fix nested repository permissions.</title>
    <guid isPermaLink="true">http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/32a993adf753</guid>
             <link>http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/32a993adf753</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>32a993adf753</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td>default</td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td>tip</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Fix nested repository permissions.<br/>
<br/>
For repositories nested inside folders, fix the permissions on the folders so we<br/>
can create other repositories inside them. Before, we only fixed the permissions<br/>
on the repositories themselves; now we also fix the root directory that holds<br/>
the repository.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>pull.sh<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#105;&#109;&#112;&#114;&#97;&#99;&#116;&#105;&#99;&#97;&#108;&#46;&#99;&#111;&#62;</author>
    <pubDate>Thu, 12 Nov 2015 21:31:15 -0800</pubDate>
</item>
<item>
    <title>Remove the hgrc file, fix permissions.</title>
    <guid isPermaLink="true">http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/c8b4b952488a</guid>
             <link>http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/c8b4b952488a</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>c8b4b952488a</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Remove the hgrc file, fix permissions.<br/>
<br/>
When pulling backups, make sure we set the permissions to 0770 as well as change<br/>
the group they belong to. This caused us to not be able to write changes (oops).<br/>
<br/>
Also, remove the hgrc file. Which means our annoying &quot;not trusting file<br/>
/mounted/repos/blah-blah/.hg/hgrc from untrusted user root, group committers&quot;<br/>
message is back, but that's a minor nuisance. The real issue is that we're<br/>
overwriting the hgrc for everything _anyways_ to get the push hook, etc. So<br/>
there seemed to be little point.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>Dockerfile<br />hgrc<br />pull.sh<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Wed, 14 Oct 2015 23:04:31 -0700</pubDate>
</item>
<item>
    <title>Use pip to install Mercurial, pin to 3.5.2</title>
    <guid isPermaLink="true">http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/9cc2f3a01ab5</guid>
             <link>http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/9cc2f3a01ab5</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>9cc2f3a01ab5</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Use pip to install Mercurial, pin to 3.5.2<br/>
<br/>
We want to use a relatively recent (but consistent) version of Mercurial, so I<br/>
had to switch to using pip to install Mercurial, so I could pin it to version<br/>
3.5.2. apt-get didn't have version 3 available.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>Dockerfile<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Sun, 11 Oct 2015 16:52:32 -0700</pubDate>
</item>
<item>
    <title>Update to be more modular.</title>
    <guid isPermaLink="true">http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/cc08c8ed2128</guid>
             <link>http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/cc08c8ed2128</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>cc08c8ed2128</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>Update to be more modular.<br/>
<br/>
We now have a more modular approach to running our mercurial servers, and the<br/>
approach to the individual containers is a bit more modular as well. The<br/>
hg-repo-sync container now has a few responsibilities:<br/>
<br/>
1. Install Mercurial<br/>
2. Create the group that’s going to be writing all our files<br/>
3. Create the folders we’ll store files in, and make the new group the owner<br/>
4. Define a script that pulls repos from GCS to local disk<br/>
5. Define a script that pushes repos to GCS from local disk<br/>
6. Define a script that causes a delay between runs<br/>
<br/>
This mainly involved breaking the previous run script into a few separate<br/>
scripts, so they could be invoked individually.<br/>
<br/>
This docker container _can_ be used as a standalone image that will keep the<br/>
local disk in sync with GCS, but it’s more useful as a base image for our other<br/>
containers to work off of to achieve specialised functionality.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>Dockerfile<br />pull.sh<br />push.sh<br />run.sh<br />sleep.sh<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Sun, 11 Oct 2015 03:48:40 -0700</pubDate>
</item>
<item>
    <title>First commit.</title>
    <guid isPermaLink="true">http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/d8c86bc750ad</guid>
             <link>http://code.secondbit.org/infra/codestorage/hg-repo-sync/rev/d8c86bc750ad</link>
    <description>
              <![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>d8c86bc750ad</td>
              </tr>
              <tr>
                              <th style="text-align:left;">branch</th>
                              <td></td>
              </tr>
              <tr>
                              <th style="text-align:left;">bookmark</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td></td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>First commit.<br/>
<br/>
This contains the basic implementation of hg-repo-sync, which is only useful<br/>
when you want to do a constant two-way sync every few minutes to Google Cloud<br/>
Storage. It also hardcodes more than it should.<br/>
<br/>
But it's running on code.secondbit.org without issue, so it should probably be<br/>
preserved.</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>.hgignore<br />Dockerfile<br />hgrc<br />run.sh<br /></td>
	</tr>
	</table>
	]]></description>
    <author>&#80;&#97;&#100;&#100;&#121;&#32;&#60;&#112;&#97;&#100;&#100;&#121;&#64;&#115;&#101;&#99;&#111;&#110;&#100;&#98;&#105;&#116;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Mon, 17 Aug 2015 18:56:19 -0400</pubDate>
</item>

  </channel>
</rss>