<feed xmlns='http://www.w3.org/2005/Atom'>
<title>janschoenfeld/checkout.git/src/git-auth-helper.ts, branch test-show-progress</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>Add new public key for known_hosts (#1237)</title>
<updated>2023-03-24T05:34:48+00:00</updated>
<author>
<name>Cameron Booth</name>
<email>cdb@github.com</email>
</author>
<published>2023-03-24T05:34:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=9aef52d510de4e17a0ea5f69c5e81c687daf417c'/>
<id>9aef52d510de4e17a0ea5f69c5e81c687daf417c</id>
<content type='text'>
* Add new public key for known_hosts

* Fix the build!</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add new public key for known_hosts

* Fix the build!</pre>
</div>
</content>
</entry>
<entry>
<title>wrap pipeline commands for submoduleForeach in quotes (#964)</title>
<updated>2022-11-16T02:51:19+00:00</updated>
<author>
<name>Jok</name>
<email>67024248+jokreliable@users.noreply.github.com</email>
</author>
<published>2022-11-16T02:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=20ea791f28338e46bf15fd7510c68b4bea790a93'/>
<id>20ea791f28338e46bf15fd7510c68b4bea790a93</id>
<content type='text'>
* wrap pipeline commands for submoduleForeach in quotes

* Update src/git-auth-helper.ts

drop extraneous space.

Co-authored-by: Josh Soref &lt;2119212+jsoref@users.noreply.github.com&gt;

* Followed CONTRIBUTING.md instructions, updating dist/index.js

* fixed package-lock.json

* updating the pipeline so it runs from sh

Co-authored-by: Josh Soref &lt;2119212+jsoref@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* wrap pipeline commands for submoduleForeach in quotes

* Update src/git-auth-helper.ts

drop extraneous space.

Co-authored-by: Josh Soref &lt;2119212+jsoref@users.noreply.github.com&gt;

* Followed CONTRIBUTING.md instructions, updating dist/index.js

* fixed package-lock.json

* updating the pipeline so it runs from sh

Co-authored-by: Josh Soref &lt;2119212+jsoref@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Inject GitHub host to be able to clone from another GitHub instance (#922)</title>
<updated>2022-09-26T16:34:52+00:00</updated>
<author>
<name>Peter Murray</name>
<email>681306+peter-murray@users.noreply.github.com</email>
</author>
<published>2022-09-26T16:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=e33cfa574212e8722034156757f8383979e76cb9'/>
<id>e33cfa574212e8722034156757f8383979e76cb9</id>
<content type='text'>
* Adding the ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host

* Adding tests for injecting the GitHub URL

* Addressing code review comments for PR #922</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adding the ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host

* Adding tests for injecting the GitHub URL

* Addressing code review comments for PR #922</pre>
</div>
</content>
</entry>
<entry>
<title>Add set-safe-directory input to allow customers to take control. (#770)</title>
<updated>2022-04-21T01:37:43+00:00</updated>
<author>
<name>Tingluo Huang</name>
<email>tingluohuang@github.com</email>
</author>
<published>2022-04-21T01:37:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=5b226525b332718d26fabcfbd1830cdc32336398'/>
<id>5b226525b332718d26fabcfbd1830cdc32336398</id>
<content type='text'>
* Add set-safe-directory input to allow customers to take control.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add set-safe-directory input to allow customers to take control.</pre>
</div>
</content>
</entry>
<entry>
<title>Enforce safe directory (#762)</title>
<updated>2022-04-14T18:13:20+00:00</updated>
<author>
<name>Thomas Boop</name>
<email>52323235+thboop@users.noreply.github.com</email>
</author>
<published>2022-04-14T18:13:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=84aef4aeee750b818c5298364848f4ba472c6f41'/>
<id>84aef4aeee750b818c5298364848f4ba472c6f41</id>
<content type='text'>
* set safe directory when running checkout

* Update CHANGELOG.md</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* set safe directory when running checkout

* Update CHANGELOG.md</pre>
</div>
</content>
</entry>
<entry>
<title>set insteadOf url for org-id (#621)</title>
<updated>2021-11-01T16:43:18+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2021-11-01T16:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=0fc042ca35b9ee6d4c6dc650662d40f189018a49'/>
<id>0fc042ca35b9ee6d4c6dc650662d40f189018a49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update dev dependencies and react to new linting rules (#611)</title>
<updated>2021-10-19T14:52:57+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2021-10-19T14:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=5ee37f14842852931cb987e86d63ffb679abd036'/>
<id>5ee37f14842852931cb987e86d63ffb679abd036</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>group output (#191)</title>
<updated>2020-03-27T17:12:15+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2020-03-27T17:12:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=10e37f5ca370a159eb6364bd241689e58d844f91'/>
<id>10e37f5ca370a159eb6364bd241689e58d844f91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>changes to support ghes alpha release (#199)</title>
<updated>2020-03-25T19:12:22+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2020-03-25T19:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=18fd0bc59958dd73f02ac7a98cb5995f83e6f1de'/>
<id>18fd0bc59958dd73f02ac7a98cb5995f83e6f1de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
