<feed xmlns='http://www.w3.org/2005/Atom'>
<title>janschoenfeld/checkout.git, branch ericsciple-patch-1</title>
<subtitle>Action for checking out a repo
</subtitle>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/'/>
<entry>
<title>.</title>
<updated>2021-07-12T16:09:36+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2021-07-12T16:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=9cba75913380d1cbdddc01bb3a3e35f164dd445d'/>
<id>9cba75913380d1cbdddc01bb3a3e35f164dd445d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update main.ts</title>
<updated>2021-07-12T16:06:24+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2021-07-12T16:06:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=79b23cb944e62b9e71e69fd9af780fccc7465abf'/>
<id>79b23cb944e62b9e71e69fd9af780fccc7465abf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Create CODEOWNERS</title>
<updated>2021-02-04T17:25:41+00:00</updated>
<author>
<name>Ross Brodbeck</name>
<email>hross@users.noreply.github.com</email>
</author>
<published>2021-02-04T17:25:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=edd58e0d4d3305f1fb94d2cbaafe45cc9135a3a6'/>
<id>edd58e0d4d3305f1fb94d2cbaafe45cc9135a3a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing `await`s (#379)</title>
<updated>2020-11-03T14:44:09+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>dscho@github.com</email>
</author>
<published>2020-11-03T14:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=2267990cd9bb5381259f49c66a8476d75f41e36e'/>
<id>2267990cd9bb5381259f49c66a8476d75f41e36e</id>
<content type='text'>
* auth-helper: properly await replacement of the token value in the config

After writing the `.extraheader` config, we manually replace the token
with the actual value. This is done in an `async` function, but we were
not `await`ing the result.

In our tests, this commit fixes a flakiness we observed where
`remote.origin.url` sometimes (very rarely, actually) is not set for
submodules. Our interpretation is that the configs are in the process of
being rewritten with the correct token value _while_ another `git
config` that wants to set the `insteadOf` value is reading the config,
which is currently empty.

A more idiomatic way to fix this in Typescript would use
`Promise.all()`, like this:

      await Promise.all(
        configPaths.map(async configPath =&gt; {
          core.debug(`Replacing token placeholder in '${configPath}'`)
          await this.replaceTokenPlaceholder(configPath)
        })
      )

However, during review of https://github.com/actions/checkout/pull/379
it was decided to keep the `for` loop in the interest of simplicity.

Reported by Ian Lynagh.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* downloadRepository(): await the result of recursive deletions

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Ask ESLint to report floating Promises

This rule is quite helpful in avoiding hard-to-debug missing `await`s.

Note: there are two locations in `src/main.ts` that trigger warnings:
the `run()` and the `cleanup()` function are called without `await` and
without any `.catch()` clause.

In the initial version of https://github.com/actions/checkout/pull/379,
this was addressed by adding `.catch()` clauses. However, it was
determined that this is boilerplate code that will need to be fixed in a
broader way.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Rebuild

This trick was brought to you by `npm ci &amp;&amp; npm run build`. Needed to
get the PR build to pass.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* auth-helper: properly await replacement of the token value in the config

After writing the `.extraheader` config, we manually replace the token
with the actual value. This is done in an `async` function, but we were
not `await`ing the result.

In our tests, this commit fixes a flakiness we observed where
`remote.origin.url` sometimes (very rarely, actually) is not set for
submodules. Our interpretation is that the configs are in the process of
being rewritten with the correct token value _while_ another `git
config` that wants to set the `insteadOf` value is reading the config,
which is currently empty.

A more idiomatic way to fix this in Typescript would use
`Promise.all()`, like this:

      await Promise.all(
        configPaths.map(async configPath =&gt; {
          core.debug(`Replacing token placeholder in '${configPath}'`)
          await this.replaceTokenPlaceholder(configPath)
        })
      )

However, during review of https://github.com/actions/checkout/pull/379
it was decided to keep the `for` loop in the interest of simplicity.

Reported by Ian Lynagh.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* downloadRepository(): await the result of recursive deletions

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Ask ESLint to report floating Promises

This rule is quite helpful in avoiding hard-to-debug missing `await`s.

Note: there are two locations in `src/main.ts` that trigger warnings:
the `run()` and the `cleanup()` function are called without `await` and
without any `.catch()` clause.

In the initial version of https://github.com/actions/checkout/pull/379,
this was addressed by adding `.catch()` clauses. However, it was
determined that this is boilerplate code that will need to be fixed in a
broader way.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;

* Rebuild

This trick was brought to you by `npm ci &amp;&amp; npm run build`. Needed to
get the PR build to pass.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Swap to Environment Files (#360)</title>
<updated>2020-09-30T15:41:09+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>52323235+thboop@users.noreply.github.com</email>
</author>
<published>2020-09-30T15:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=87a992c3184847a0c800064628595a4d295af3fc'/>
<id>87a992c3184847a0c800064628595a4d295af3fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded commit information from build logs (#345)</title>
<updated>2020-09-23T13:41:47+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>52323235+thboop@users.noreply.github.com</email>
</author>
<published>2020-09-23T13:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=6943eced8faa00b363a577a3e573551e2255efac'/>
<id>6943eced8faa00b363a577a3e573551e2255efac</id>
<content type='text'>
* Remove unneeded commit information from stdout
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove unneeded commit information from stdout
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `Licensed` To Help Verify Prod Licenses (#326)</title>
<updated>2020-09-10T13:24:29+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>52323235+thboop@users.noreply.github.com</email>
</author>
<published>2020-09-10T13:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=0e68cab139db160d6e9937a23b4cbb50fa4b3627'/>
<id>0e68cab139db160d6e9937a23b4cbb50fa4b3627</id>
<content type='text'>
* Add Licensed file and workflow

* manual updates of dependencies

* Delete licenses.txt

* Ignore Generated Files in Git PR's</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add Licensed file and workflow

* manual updates of dependencies

* Delete licenses.txt

* Ignore Generated Files in Git PR's</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Delete licenses.txt"</title>
<updated>2020-08-11T23:41:01+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>thboop@github.com</email>
</author>
<published>2020-08-11T23:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=1b17a1892e29d220788bc4ef8aba7bdd5689767b'/>
<id>1b17a1892e29d220788bc4ef8aba7bdd5689767b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete licenses.txt</title>
<updated>2020-08-11T23:36:35+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>52323235+thboop@users.noreply.github.com</email>
</author>
<published>2020-08-11T23:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=121ab3d976d9843d6c7514f4fac98be0f117e4f2'/>
<id>121ab3d976d9843d6c7514f4fac98be0f117e4f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Third Party License Information to Dist Files (#320)</title>
<updated>2020-08-07T13:22:39+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>52323235+thboop@users.noreply.github.com</email>
</author>
<published>2020-08-07T13:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=1aa2bf742c57f15c5acb7a69e05be6ab8295e636'/>
<id>1aa2bf742c57f15c5acb7a69e05be6ab8295e636</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
