Commit Graph

43 Commits (db7655aabb9843f71d0e9b07dd550c075a4976f2)

Author SHA1 Message Date
Dennis Wielepsky db7655aabb
Merge pull request #18 from jdevera/skip_forks
Allow skipping forks (and a dry-run bonus)
2024-09-24 14:39:49 +02:00
Dennis Wielepsky b56d5944f8
Update README.md 2024-08-18 14:38:42 +02:00
Dennis Wielepsky b4b2660d00
Update LICENSE 2024-08-18 14:38:06 +02:00
Jacobo de Vera 921713518d
Log the start of each run with its parameters
But do not show secrets.
2024-07-20 01:11:41 +01:00
Jacobo de Vera 11f95daaf8
Prefer unless-stopped for restart policy
Otherwise the explicit user action of stopping it will be undone on next
start.
2024-07-20 01:11:41 +01:00
Jacobo de Vera 3e8eab3655
Allow filtering out forks when mirroring 2024-07-20 01:11:41 +01:00
Jacobo de Vera 81e11cde9b
Resolve env flags to boolean early
So inner functions can assume booleans and forget about the fact that
they were once strings.

Also allow both true and 1 to set it.
2024-07-20 01:11:41 +01:00
Jacobo de Vera 60ae549d13
Add new DRY_RUN parameter that prevents writing to gitea
This is so that the script can be tested more easily without introducing
changes in the destination Gitea instance.
2024-07-20 01:11:13 +01:00
Dennis Jekubczyk 2bc1e5e027
Rate limits may be avoided by using a GitHub token 2023-02-25 10:04:55 +01:00
Dennis Jekubczyk f143307d83
Merge pull request #9 from NelsonDane/master
Update Endpoints, Add Private Repo Support, Variable Delay Time and Update Readme
2023-02-25 10:00:16 +01:00
Dennis Jekubczyk 82c9944338
update docker login action 2023-02-15 13:20:30 +01:00
Dennis Jekubczyk 428417c198
Merge pull request #12 from agustinmista/master
Add CI workflow to build and push Docker image
2023-02-14 07:12:15 +01:00
Agustin Mista c77cc93027 Ran `npm update` to regenerate package-lock.json 2023-02-13 21:48:51 +00:00
Agustin Mista 202ffcfcb2 Add CI action to build and deploy Docker image 2023-02-13 21:35:55 +00:00
Agustin Mista 9431e82c1b Add devcontainer file 2023-02-13 21:35:10 +00:00
Nelson Dane a1c89bfcee Fix Public Repos without auth
Change API endpoint to allow the pulling of public repos without a Github token. Also remove unneeded username reference.
2023-02-04 10:23:59 -05:00
Nelson Dane 445b9642ca Add slash for copy 2023-02-03 18:37:22 -05:00
Nelson Dane 5765836044 Update README.md 2023-02-03 18:19:23 -05:00
Nelson Dane f81d17d31c Add variable delay time 2023-02-03 18:19:20 -05:00
Nelson Dane 210813da8d Private GH are now private in Gitea 2023-02-03 02:41:58 -05:00
Nelson Dane 5d837c0dbc Fix public and private repos 2023-02-03 01:29:38 -05:00
Dennis Jekubczyk 542ce09da0
Merge pull request #5 from jaedle/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.1 to 2.6.7
2022-07-15 07:51:21 +02:00
dependabot[bot] 2136cfa35e
Bump node-fetch from 2.6.1 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 22:25:18 +00:00
MasterEvarior 416988e568 Changed default behavior 2021-05-16 12:20:07 +02:00
MasterEvarior 584f329213 Updated readme 2021-05-16 12:08:32 +02:00
MasterEvarior 15e9c60d4c All repositories are now fetched 2021-05-02 18:03:16 +02:00
MasterEvarior d8d7c88496 Private repositories can now be fetched and mirrored 2021-04-29 22:50:21 +02:00
MasterEvarior 09ef6f9c85 Authentication to Gitea now with header 2021-04-28 22:41:58 +02:00
Dennis Jekubczyk 1ac87f5621
Merge pull request #3 from nilp0inter/master
fix: upgrade octokit to fix 'TypeError: Octokit is not a constructor'
2021-01-11 23:27:35 +01:00
Roberto Abdelkader Martínez Pérez bb1a1674af
fix: upgrade octokit to fix 'TypeError: Octokit is not a constructor' 2021-01-11 23:11:31 +01:00
jaedle d16babbc48 fix package-lock.json 2020-11-01 22:08:37 +01:00
Dennis Jekubczyk 1aa1741395
Merge pull request #1 from jaedle/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.3.0 to 2.6.1
2020-10-28 22:56:16 +01:00
Dennis Jekubczyk e9719e5dfc
Merge pull request #2 from derhuerst/master
use GitHub access token, rate-limit Gitea requests
2020-10-28 22:56:00 +01:00
Jannis R 463c1967b4
send max 4 requests to Gitea concurrently 2020-10-26 14:35:08 +01:00
Jannis R 8330f93a3d
optionally use GitHub access token
to prevent rate limiting
2020-10-26 14:35:08 +01:00
dependabot[bot] cf7de96993
Bump node-fetch from 2.3.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.3.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.3.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 10:45:15 +00:00
jaedle 6033c4e16e add description on interval 2019-03-09 14:27:21 +01:00
jaedle efdc5d2352 add more things to do 2019-03-09 14:18:37 +01:00
jaedle ccb36d0609 fix markdown errors 2019-03-09 14:09:05 +01:00
jaedle 25414cb53b add badges 2019-03-09 14:05:29 +01:00
jaedle 5126944e36
Add token 2019-03-09 14:01:04 +01:00
jaedle 9131b64588 fix documentation flaws 2019-03-09 13:49:37 +01:00
jaedle b2b34b7113 initial commit 2019-03-09 13:47:07 +01:00