Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from gabrie30:master #35

Open
wants to merge 248 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
e20a147
Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 (#255)
dependabot[bot] Nov 1, 2022
27e59da
Bump github.com/xanzy/go-gitlab from 0.73.1 to 0.74.0 (#256)
dependabot[bot] Nov 1, 2022
b06dadf
Add insecure gitea client flag (#259)
gabrie30 Nov 4, 2022
0003fa6
Update gitea to include insecure flag on baseurl
gabrie30 Nov 5, 2022
9337f65
Update CHANGELOG.md
gabrie30 Nov 5, 2022
b8368b6
Update version.go
gabrie30 Nov 5, 2022
0ee7551
Fix README installtion link (#260)
giannisgrigorakos Nov 10, 2022
f47cc48
Move additional gitlab docs into gitlab examples
gabrie30 Nov 25, 2022
d8265a5
Bump github.com/spf13/viper from 1.13.0 to 1.14.0 (#263)
dependabot[bot] Dec 3, 2022
35306b8
Bump github.com/xanzy/go-gitlab from 0.74.0 to 0.76.0 (#262)
dependabot[bot] Dec 3, 2022
3175b12
Update CODE_OF_CONDUCT.md
gabrie30 Dec 3, 2022
fa495fa
Request all available top level GitLab groups (#264)
mlaily Dec 7, 2022
636e98a
Adds all-users clone for hosted gitlab instances (#266)
gabrie30 Dec 10, 2022
e5820e2
Add better error message to all user clones
gabrie30 Dec 11, 2022
13acc61
Update gitlab path trim prefix if not all-groups (#268)
gabrie30 Dec 31, 2022
dc4f045
Update goreleaser.yml
gabrie30 Dec 31, 2022
4e60cec
Update goreleaser.yml
gabrie30 Dec 31, 2022
badafab
Update goreleaser.yml
gabrie30 Dec 31, 2022
d1133bd
Update goreleaser.yml
gabrie30 Dec 31, 2022
63d9c29
Update goreleaser.yml
gabrie30 Jan 1, 2023
f77a946
Update go.yml
gabrie30 Jan 1, 2023
a88cb44
Bump github.com/xanzy/go-gitlab from 0.76.0 to 0.77.0 (#269)
dependabot[bot] Jan 1, 2023
da3c03a
Bump github.com/ktrysmt/go-bitbucket from 0.9.54 to 0.9.55 (#270)
dependabot[bot] Jan 1, 2023
f1124a1
Update CHANGELOG.md
gabrie30 Jan 1, 2023
cc401cf
Update version.go
gabrie30 Jan 1, 2023
ea3f20e
Update gitlab.md
gabrie30 Jan 1, 2023
5a9fbe6
Update gitlab.md
gabrie30 Jan 1, 2023
c3f7aec
Update gitlab docs and local instanace (#273)
gabrie30 Jan 7, 2023
00b131e
Fix gitlab folder structure when outputdir is specified (#274)
gabrie30 Jan 7, 2023
256bd16
Update CHANGELOG.md
gabrie30 Jan 7, 2023
37de22a
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 Jan 7, 2023
bc37fd9
Update gitlab.go
gabrie30 Jan 7, 2023
3a86514
update gitlab integration tests
gabrie30 Jan 7, 2023
b370e8a
Update gitlab integration tests
gabrie30 Jan 7, 2023
2e7bfde
Update gitlab cloud integration tests (#275)
gabrie30 Jan 7, 2023
441360c
Update CHANGELOG.md
gabrie30 Jan 7, 2023
5517024
Update gitlab.go
gabrie30 Jan 7, 2023
26c96f5
Bump version
gabrie30 Jan 7, 2023
7a13987
Update gitlab.md
gabrie30 Jan 10, 2023
220120f
Bump github.com/xanzy/go-gitlab from 0.77.0 to 0.79.1 (#279)
dependabot[bot] Feb 1, 2023
41f4ee3
Bump github.com/fatih/color from 1.13.0 to 1.14.1 (#280)
dependabot[bot] Feb 1, 2023
c658464
Bump github.com/spf13/viper from 1.14.0 to 1.15.0 (#281)
dependabot[bot] Feb 1, 2023
8f39b26
Update CHANGELOG.md
gabrie30 Feb 4, 2023
eea6975
bump golang.org/x/net from 0.4.0 to 0.7.0 (#283)
dependabot[bot] Feb 18, 2023
c755241
Bump golang.org/x/oauth2 from 0.3.0 to 0.5.0 (#285)
dependabot[bot] Mar 1, 2023
e470b44
Bump github.com/xanzy/go-gitlab from 0.79.1 to 0.80.2 (#284)
dependabot[bot] Mar 1, 2023
7f324ea
Fix Gitea tokens not being found in config.yaml file (#287)
Antfere Mar 11, 2023
afdd9d4
Update changelog
gabrie30 Mar 11, 2023
8dace64
Update README.md
gabrie30 Mar 25, 2023
fa211f9
Remove token length checks (#291)
gabrie30 Mar 26, 2023
414c171
Update github.go (#292)
gabrie30 Mar 26, 2023
e31802c
Update github.go (#293)
gabrie30 Mar 26, 2023
b85190c
Update CHANGELOG.md
gabrie30 Mar 26, 2023
2bcac49
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 Mar 26, 2023
c28254b
Update .goreleaser.yml
gabrie30 Mar 27, 2023
ba23444
Update goreleaser.yml
gabrie30 Mar 27, 2023
7414824
Bump github.com/xanzy/go-gitlab from 0.80.2 to 0.81.0 (#297)
dependabot[bot] Apr 1, 2023
7d7a67e
Bump github.com/fatih/color from 1.14.1 to 1.15.0 (#296)
dependabot[bot] Apr 1, 2023
1f37d59
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#298)
dependabot[bot] Apr 1, 2023
3e126e7
Add GHORG_NO_TOKEN (#299)
gabrie30 Apr 9, 2023
3d490a7
Fix for Dockerfile smell DL3059 (#300)
grosa1 Apr 14, 2023
fff5d83
Default value for GHORG_ABSOLUTE_PATH_TO_CLONE_TO is $HOME/ghorg (#301)
rootkea Apr 23, 2023
1bbafc7
Bump github.com/ktrysmt/go-bitbucket from 0.9.55 to 0.9.56 (#305)
dependabot[bot] May 2, 2023
abe89b7
Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#303)
dependabot[bot] May 2, 2023
931001e
Bump github.com/xanzy/go-gitlab from 0.81.0 to 0.83.0 (#302)
dependabot[bot] May 2, 2023
3a02fbb
Gitea SCM: fix x509: certificate signed by unknown authority (#307)
oligot May 23, 2023
05abb83
Update CHANGELOG.md
gabrie30 May 26, 2023
c72625e
Auth/GitHub app (#308)
gabrie30 May 26, 2023
86f0772
Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 (#309)
dependabot[bot] May 26, 2023
290caff
Update configs.go
gabrie30 May 30, 2023
7c5ac68
Update CHANGELOG.md
gabrie30 May 30, 2023
1218e89
Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 (#311)
dependabot[bot] Jun 1, 2023
7d94686
Bump github.com/ktrysmt/go-bitbucket from 0.9.56 to 0.9.58 (#312)
dependabot[bot] Jun 1, 2023
64d861f
Bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#314)
dependabot[bot] Jun 1, 2023
152df06
Update CHANGELOG.md
gabrie30 Jun 3, 2023
be94d04
Add clone depth flag (#315)
gabrie30 Jun 3, 2023
15654dc
Update CHANGELOG.md
gabrie30 Jun 10, 2023
e4cb67d
Update gitlab.md
gabrie30 Jun 18, 2023
aedcf3e
Bump github.com/xanzy/go-gitlab from 0.83.0 to 0.86.0 (#317)
dependabot[bot] Jul 1, 2023
3a12062
Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 (#318)
dependabot[bot] Jul 1, 2023
67704be
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.4.0 to 2.5.0 (…
dependabot[bot] Jul 1, 2023
b4fb571
Bump github.com/ktrysmt/go-bitbucket from 0.9.58 to 0.9.60 (#320)
dependabot[bot] Jul 1, 2023
4a577de
Update CHANGELOG.md
gabrie30 Jul 1, 2023
fa9f1b8
Update README.md
gabrie30 Jul 1, 2023
4eba463
Update clone help text
gabrie30 Jul 14, 2023
575b04d
Add reclone list flag (#323)
gabrie30 Jul 14, 2023
74f3608
update changelog
gabrie30 Jul 23, 2023
92965c8
Update goreleaser.yml
gabrie30 Jul 23, 2023
8120827
Bump github.com/ktrysmt/go-bitbucket from 0.9.60 to 0.9.63 (#329)
dependabot[bot] Aug 1, 2023
ff37243
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.5.0 to 2.6.0 (…
dependabot[bot] Aug 1, 2023
214bfdb
Bump github.com/xanzy/go-gitlab from 0.86.0 to 0.89.0 (#326)
dependabot[bot] Aug 1, 2023
962897a
Bump version for updated deps
gabrie30 Aug 1, 2023
6a62834
Update go version (#330)
gabrie30 Aug 1, 2023
854cc78
Add examples command (#332)
gabrie30 Aug 21, 2023
60e944a
Bump golang.org/x/image from 0.0.0-20220302094943-723b81ca9867 to 0.5…
dependabot[bot] Aug 21, 2023
956f49c
Update CHANGELOG.md
gabrie30 Aug 21, 2023
4c3e68c
Add env only for reclone commands (#335)
gabrie30 Aug 25, 2023
98516d5
Update CHANGELOG.md
gabrie30 Aug 25, 2023
1950a5c
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 Aug 25, 2023
8260963
Update .goreleaser.yml
gabrie30 Aug 25, 2023
50de2cf
Fix examples command (#337)
gabrie30 Aug 26, 2023
dac142d
Bump github.com/ktrysmt/go-bitbucket from 0.9.63 to 0.9.66 (#339)
dependabot[bot] Sep 1, 2023
77501c3
Bump github.com/xanzy/go-gitlab from 0.89.0 to 0.90.0 (#340)
dependabot[bot] Sep 1, 2023
49d65c5
Update goreleaser naming
gabrie30 Sep 25, 2023
0f7a77e
Bump golang.org/x/net from 0.14.0 to 0.17.0 (#350)
dependabot[bot] Oct 12, 2023
c179154
Changed Dockerfile to leverage multi-stage builds (#353)
afonsoc12 Oct 22, 2023
63bac70
351/automated docker images (#354)
afonsoc12 Oct 22, 2023
a50b6b3
feat: :sparkles: Allow using file paths in --token and GHORG_*_TOKEN…
dvonessen Oct 26, 2023
c754422
Update CHANGELOG.md
gabrie30 Oct 26, 2023
f990804
Update docker workflows so they automatically trigger (#360)
gabrie30 Oct 26, 2023
dc5a7c8
add docker support fo armv7 (#361)
LuckyTurtleDev Oct 27, 2023
0d1d954
Update CHANGELOG.md
gabrie30 Oct 27, 2023
baf3bd9
Update README.md
gabrie30 Oct 28, 2023
b438c25
Update README.md
gabrie30 Oct 28, 2023
fb5de2e
Update README.md
gabrie30 Oct 28, 2023
c5d9567
Update workflow
gabrie30 Oct 28, 2023
27da827
Update go-build-test.yml (#362)
gabrie30 Oct 28, 2023
0d8c7b0
Bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#365)
dependabot[bot] Nov 3, 2023
7de32df
Bump github.com/ktrysmt/go-bitbucket from 0.9.66 to 0.9.70 (#364)
dependabot[bot] Nov 3, 2023
8a938f0
Bump github.com/xanzy/go-gitlab from 0.90.0 to 0.93.2 (#366)
dependabot[bot] Nov 3, 2023
1b28861
Bump code.gitea.io/sdk/gitea from 0.15.1 to 0.16.0 (#367)
dependabot[bot] Nov 3, 2023
5c9ebdf
Bump golang.org/x/image from 0.5.0 to 0.10.0 (#369)
dependabot[bot] Nov 3, 2023
b62a88f
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.6.0 to 2.8.0 (…
dependabot[bot] Nov 3, 2023
416b4db
Update README.md
gabrie30 Nov 15, 2023
e1ba7e6
Update README.md
gabrie30 Nov 17, 2023
be07933
Fix typo in How to Use (#370)
indekalu Nov 24, 2023
d265fc9
Bump github.com/xanzy/go-gitlab from 0.93.2 to 0.94.0 (#371)
dependabot[bot] Dec 2, 2023
284cf9e
Bump golang.org/x/oauth2 from 0.13.0 to 0.15.0 (#372)
dependabot[bot] Dec 2, 2023
38d0a68
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#373)
dependabot[bot] Dec 2, 2023
ac2bb9e
Bump github.com/ktrysmt/go-bitbucket from 0.9.70 to 0.9.72 (#374)
dependabot[bot] Dec 2, 2023
5a3f184
Bump github.com/fatih/color from 1.15.0 to 1.16.0 (#375)
dependabot[bot] Dec 2, 2023
c661965
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#376)
dependabot[bot] Dec 19, 2023
32daaf6
Bump github.com/spf13/viper from 1.17.0 to 1.18.2 (#380)
dependabot[bot] Jan 1, 2024
c1da48e
Bump github.com/ktrysmt/go-bitbucket from 0.9.72 to 0.9.73 (#377)
dependabot[bot] Jan 1, 2024
2f2079c
Bump code.gitea.io/sdk/gitea from 0.16.0 to 0.17.1 (#378)
dependabot[bot] Jan 1, 2024
d2a21a6
Bump github.com/xanzy/go-gitlab from 0.94.0 to 0.95.2 (#379)
dependabot[bot] Jan 1, 2024
e29b712
Update CHANGELOG.md
gabrie30 Jan 22, 2024
2cb479a
Add GHORG_TARGET_REPOS_PATH (#384)
gabrie30 Jan 24, 2024
21c4efc
Update README.md
gabrie30 Jan 26, 2024
d51e329
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.8.0 to 2.9.0 (…
dependabot[bot] Feb 1, 2024
0067e31
Bump github.com/ktrysmt/go-bitbucket from 0.9.73 to 0.9.74 (#387)
dependabot[bot] Feb 1, 2024
cbd9505
Bump github.com/xanzy/go-gitlab from 0.95.2 to 0.96.0 (#386)
dependabot[bot] Feb 1, 2024
d8654ce
Bump github.com/xanzy/go-gitlab from 0.96.0 to 0.98.0 (#391)
dependabot[bot] Mar 2, 2024
75f8776
Bump github.com/ktrysmt/go-bitbucket from 0.9.74 to 0.9.76 (#393)
dependabot[bot] Mar 2, 2024
4f11387
Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#392)
dependabot[bot] Mar 2, 2024
d1afacc
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#394)
dependabot[bot] Mar 14, 2024
8309fb2
Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#395)
dependabot[bot] Apr 1, 2024
fd84de7
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.9.0 to 2.10.0 …
dependabot[bot] Apr 1, 2024
3d6486e
Bump github.com/xanzy/go-gitlab from 0.98.0 to 0.101.0 (#396)
dependabot[bot] Apr 1, 2024
09fa766
Bump github.com/ktrysmt/go-bitbucket from 0.9.76 to 0.9.77 (#398)
dependabot[bot] Apr 1, 2024
ef68043
fix: Use ID instead of Path to get top level groups on gitlab (#400)
angelabad Apr 10, 2024
522bdd0
Update CHANGELOG.md
gabrie30 Apr 10, 2024
79dc8c3
Bump golang.org/x/net from 0.22.0 to 0.23.0 (#401)
dependabot[bot] Apr 19, 2024
4fa1fd6
Update CHANGELOG.md
gabrie30 Apr 27, 2024
a8e0d4f
Update .goreleaser.yml
gabrie30 Apr 27, 2024
e7c7db8
Bump github.com/xanzy/go-gitlab from 0.101.0 to 0.103.0 (#405)
dependabot[bot] May 2, 2024
a625c0f
Bump code.gitea.io/sdk/gitea from 0.17.1 to 0.18.0 (#403)
dependabot[bot] May 2, 2024
289f36a
Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 (#402)
dependabot[bot] May 2, 2024
7218d14
Bump github.com/ktrysmt/go-bitbucket from 0.9.77 to 0.9.79 (#404)
dependabot[bot] May 2, 2024
c66a7af
Update Dockerfile
gabrie30 May 4, 2024
7fd0fe7
Update clone.go (#410)
gabrie30 May 15, 2024
3207bf4
Update CHANGELOG.md
gabrie30 May 15, 2024
dbf16d6
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 May 15, 2024
4272255
Update version.go
gabrie30 May 15, 2024
e8303f9
Add more debugging output to git commands when debug mode is enabled …
gabrie30 May 16, 2024
9d288ad
Update clone.go (#413)
gabrie30 May 16, 2024
9b83f24
Update CHANGELOG.md
gabrie30 May 16, 2024
cec058d
Update CHANGELOG.md
gabrie30 May 16, 2024
356ac67
Bump rexml from 3.2.5 to 3.2.8 in /site (#414)
dependabot[bot] May 17, 2024
8819c58
chore: remove refs to deprecated io/ioutil (#415)
testwill May 17, 2024
e94b823
Update changelog and version
gabrie30 May 17, 2024
23be469
Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 (#419)
dependabot[bot] Jun 1, 2024
85664dd
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.10.0 to 2.11.0…
dependabot[bot] Jun 1, 2024
b53b0cf
Bump github.com/fatih/color from 1.16.0 to 1.17.0 (#422)
dependabot[bot] Jun 1, 2024
083e47f
Bump github.com/xanzy/go-gitlab from 0.103.0 to 0.105.0 (#423)
dependabot[bot] Jun 1, 2024
c83f1dd
Bump github.com/ktrysmt/go-bitbucket from 0.9.79 to 0.9.80 (#421)
dependabot[bot] Jun 1, 2024
1b94d6b
Add app password into clone url for bitbucket clones (#425)
gabrie30 Jun 15, 2024
24ce679
Update go version and go gitlab (#426)
gabrie30 Jun 24, 2024
d006641
Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 (#427)
dependabot[bot] Jun 25, 2024
b2bf233
Update go.mod
gabrie30 Jun 25, 2024
3455d42
Bump golang.org/x/image from 0.10.0 to 0.18.0 (#428)
dependabot[bot] Jun 27, 2024
d236580
Update github and github user call options (#430)
gabrie30 Jun 29, 2024
f9a2434
Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 (#431)
dependabot[bot] Jul 1, 2024
22139f2
Bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#432)
dependabot[bot] Jul 1, 2024
f6a01f6
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#433)
dependabot[bot] Jul 1, 2024
30ca6dd
Add gitlab integration tests (#434)
gabrie30 Jul 10, 2024
3f99319
Add snippet support (#416)
gabrie30 Jul 13, 2024
ffde2df
Add ghorgignore filter test (#435)
gabrie30 Jul 13, 2024
ecb67d5
Add test for filtering repos based on target repos path (#436)
gabrie30 Jul 14, 2024
a815522
Standardize filter function names
gabrie30 Jul 14, 2024
150e326
Prevent checkout failure on default branch change (#437)
zarthross Jul 17, 2024
b598e0d
Update fetch clone branch to only run when checkout fails (#438)
gabrie30 Jul 17, 2024
7167cd4
Add commit count to output (#440)
gabrie30 Jul 18, 2024
9bd4558
Update CHANGELOG.md
gabrie30 Jul 20, 2024
3c22935
Bump unreleased version
gabrie30 Jul 20, 2024
c254f94
Bump code.gitea.io/sdk/gitea from 0.18.0 to 0.19.0 (#441)
dependabot[bot] Aug 1, 2024
1aa7131
Bump github.com/xanzy/go-gitlab from 0.106.0 to 0.107.0 (#442)
dependabot[bot] Aug 1, 2024
c3a5a81
Bump rexml from 3.2.8 to 3.3.3 in /site (#443)
dependabot[bot] Aug 2, 2024
e220a0c
Bump rexml from 3.3.3 to 3.3.6 in /site (#444)
dependabot[bot] Aug 23, 2024
1a05292
Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 (#447)
dependabot[bot] Sep 1, 2024
9dced6a
Bump github.com/xanzy/go-gitlab from 0.107.0 to 0.108.0 (#446)
dependabot[bot] Sep 1, 2024
db111bc
Add no dir size flag (#448)
gabrie30 Sep 14, 2024
0bfd951
Add/ghorg stats (#449)
gabrie30 Sep 15, 2024
62e78ef
Update sample-conf.yaml
gabrie30 Sep 15, 2024
9995863
Update README.md
gabrie30 Sep 16, 2024
08add68
Update/ghorgls (#450)
gabrie30 Sep 17, 2024
e614378
Add spinner to ghorg ls command (#451)
gabrie30 Sep 18, 2024
c6061ea
Update ls.go (#452)
gabrie30 Sep 18, 2024
f3383dd
Add/GitHub language filter (#453)
gabrie30 Sep 19, 2024
5cc347f
Update github_cloud_integration_tests.sh (#455)
gabrie30 Sep 20, 2024
7222d63
Update reclone with better stdout and stderr (#456)
gabrie30 Sep 21, 2024
35dda34
Update version.go
gabrie30 Sep 21, 2024
7838aa7
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 Sep 21, 2024
8c2116c
Update CHANGELOG.md
gabrie30 Sep 21, 2024
9e64a97
Update unreleased version
gabrie30 Sep 21, 2024
ca104dd
Make reclone output more detailed (#457)
gabrie30 Sep 21, 2024
1ca84c6
Add preserve scm hostname flag (#458)
gabrie30 Sep 22, 2024
2307252
Add/ghorg prune untouched (#459)
gabrie30 Sep 22, 2024
3b110bf
Update clone.go
gabrie30 Sep 23, 2024
f76d38b
Update prune untouched documentation
gabrie30 Sep 23, 2024
f19d6b7
Allow github app token created outside of ghorg to be used for https …
PaarthShah Sep 25, 2024
683c5ec
Update CHANGELOG.md
gabrie30 Sep 25, 2024
d1bb7c3
Add/reclone cmds (#461)
gabrie30 Sep 28, 2024
3f1a23b
Update README.md
gabrie30 Sep 28, 2024
960279b
Update changelog and spelling
gabrie30 Sep 28, 2024
d5785ba
Update CHANGELOG.md
gabrie30 Sep 28, 2024
9fd0672
Bump github.com/xanzy/go-gitlab from 0.108.0 to 0.109.0 (#463)
dependabot[bot] Oct 1, 2024
bbc4287
Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 (#462)
dependabot[bot] Oct 1, 2024
d5c8781
Update configs.go (#465)
gabrie30 Oct 17, 2024
e753eeb
Update version.go
gabrie30 Oct 17, 2024
80e04f7
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 Oct 17, 2024
53b3577
Update README.md
gabrie30 Oct 18, 2024
14ec714
Update bitbucket.go
gabrie30 Oct 18, 2024
b54ede9
Bump rexml from 3.3.6 to 3.3.9 in /site (#467)
dependabot[bot] Oct 29, 2024
59398e1
Bump github.com/fatih/color from 1.17.0 to 1.18.0 (#470)
dependabot[bot] Nov 1, 2024
a3afe34
Bump github.com/xanzy/go-gitlab from 0.109.0 to 0.112.0 (#468)
dependabot[bot] Nov 1, 2024
fe84606
Bump github.com/ktrysmt/go-bitbucket from 0.9.80 to 0.9.81 (#469)
dependabot[bot] Nov 1, 2024
6ea2872
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#471)
dependabot[bot] Nov 5, 2024
fc2ce54
Bump github.com/xanzy/go-gitlab from 0.112.0 to 0.114.0 (#474)
dependabot[bot] Dec 1, 2024
b0f2b59
Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.11.0 to 2.12.0…
dependabot[bot] Dec 1, 2024
a5340cb
Bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 (#475)
dependabot[bot] Dec 1, 2024
aa62c97
Fix typo in README.md (#477)
jossy Dec 3, 2024
9234010
Bump golang.org/x/crypto from 0.23.0 to 0.31.0 (#478)
dependabot[bot] Dec 12, 2024
f854ca0
Bump github.com/xanzy/go-gitlab from 0.114.0 to 0.115.0 (#480)
dependabot[bot] Dec 21, 2024
4bf7fcb
Update README.md
gabrie30 Jan 12, 2025
85c49df
Merge branch 'master' of https://github.com/gabrie30/ghorg
gabrie30 Jan 12, 2025
ad20e6d
Update README.md
gabrie30 Jan 12, 2025
e89f692
Update README.md
gabrie30 Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Steps to reproduce the behavior:
* SCM : github
* Type : org
* Protocol : https
* Location : /Users/user/Desktop/ghorg/
* Location : $HOME/ghorg
* Concurrency : 25
* Ghorgignore : /Users/user/.config/ghorg/ghorgignore
* Config Used : /Users/user.config/ghorg/conf.yaml
Expand All @@ -32,7 +32,7 @@ Steps to reproduce the behavior:

75 repos found in my-org
```

1. Details on the user/org you tried to clone e.g. is it your user, a public org, etc.

**Screenshots**
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/docker-build-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: docker-build-branch

on:
push:
branches: master

jobs:
docker:
name: Build and deploy to ghcr.io
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Compute Docker tags
run: |
echo "github.ref_name=${{ github.ref_name }}"
echo "github.sha=${{ github.sha }}"
ref_name=$(echo "${{ github.ref_name }}" | tr -c 'a-zA-Z0-9.' '-' | sed 's/^-//;s/-$//')
commit_sha=$(git rev-parse --short HEAD)
echo "ref_name=$ref_name"
echo "commit_sha=$commit_sha"

echo "Setting Docker tag for a regular push"
echo "docker_latest_tag=$ref_name" >> $GITHUB_ENV
echo "docker_tag=$ref_name-$commit_sha" >> $GITHUB_ENV

echo "Tag docker_latest_tag=${{ env.docker_latest_tag }}"
echo "Tag docker_tag=${{ env.docker_tag }}"
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/arm64,linux/amd64,linux/arm/v7
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ env.docker_latest_tag }}
ghcr.io/${{ github.repository }}:${{ env.docker_tag }}
58 changes: 58 additions & 0 deletions .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: docker-build-release

on:
release:
types: published
workflow_dispatch:
inputs:
is_release:
required: false
type: boolean
default: false
workflow_call:
inputs:
is_release:
required: false
type: boolean
default: false

jobs:
docker:
name: Build and deploy to ghcr.io
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Compute Docker tags
run: |
echo "github.ref_name=${{ github.ref_name }}"
echo "github.sha=${{ github.sha }}"
ref_name=$(echo "${{ github.ref_name }}" | tr -c 'a-zA-Z0-9.' '-' | sed 's/^-//;s/-$//')
commit_sha=$(git rev-parse --short HEAD)
echo "ref_name=$ref_name"
echo "commit_sha=$commit_sha"

echo "Setting Docker tag for a release"
echo "docker_latest_tag=latest" >> $GITHUB_ENV
echo "docker_tag=$ref_name" >> $GITHUB_ENV

echo "Tag docker_latest_tag=${{ env.docker_latest_tag }}"
echo "Tag docker_tag=${{ env.docker_tag }}"
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/arm64,linux/amd64,linux/arm/v7
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ env.docker_latest_tag }}
ghcr.io/${{ github.repository }}:${{ env.docker_tag }}
20 changes: 20 additions & 0 deletions .github/workflows/examples-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Examples Copy Folder Content

on:
pull_request:

jobs:
check-folders:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Compare folders
run: |
shopt -s dotglob
if ! diff -r examples/ cmd/examples-copy; then
echo "Examples folder is not up to date. Please run 'make examples' and commit the changes."
exit 1
fi
28 changes: 28 additions & 0 deletions .github/workflows/gitlab-ee-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run GitLab EE Integration Tests
on: [pull_request]
jobs:
gitlab_ee_integration_tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "^1.20"
- name: Check out code
uses: actions/checkout@v2
- name: Install Go dependencies and build the project
run: |
go mod download
go install .
- name: Add Go binaries to PATH
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Add hosts to /etc/hosts
run: |
sudo echo "127.0.0.1 gitlab.example.com" | sudo tee -a /etc/hosts
- name: Run GitLab Integration Test
run: |
echo "Using ghorg version: $(ghorg version)"
export GHORG_GHA_CI=true
./scripts/local-gitlab/start-ee.sh
69 changes: 69 additions & 0 deletions .github/workflows/go-build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Running locally https://yonatankra.com/how-to-test-github-actions-locally-using-act/
name: Go
on: pull_request
jobs:
build_and_test:
environment: actions
name: Build and Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Test
run: go test -v ./...
- name: Build
run: go build -v -o ghorg .
- name: Run GitHub Cloud Integration Tests
run: scripts/github_cloud_integration_tests.sh
env:
GITHUB_TOKEN: ${{ secrets.GHORG_GITHUB_TOKEN }}
- name: Run Bitbucket Cloud Integration Tests
run: scripts/bitbucket_cloud_integration_tests.sh
env:
BITBUCKET_TOKEN: ${{ secrets.GHORG_BITBUCKET_APP_PASSWORD }}
BITBUCKET_USERNAME: ${{ secrets.GHORG_BITBUCKET_USERNAME }}
- name: Run GitLab Cloud Integration Tests
run: scripts/gitlab_cloud_integration_tests.sh
env:
GITLAB_TOKEN: ${{ secrets.GHORG_GITLAB_TOKEN }}
build_and_test_windows:
environment: actions
name: Build and Test Windows
runs-on: windows-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set configuration file
run: |
mkdir C:\Users\runneradmin\.config\ghorg
copy sample-conf.yaml C:\Users\runneradmin\.config\ghorg\conf.yaml
- name: Build
run: env GOOS=windows GOARCH=386 go build -v -o ghorg.exe .
- name: Test
run: go test -v ./...
- name: Run GitHub Integration Tests
run: scripts/windows_github_integration_tests.bat
env:
GITHUB_TOKEN: ${{ secrets.GHORG_GITHUB_TOKEN }}
- name: Run Bitbucket Integration Tests
run: scripts/bitbucket_cloud_integration_tests.sh
env:
BITBUCKET_TOKEN: ${{ secrets.GHORG_BITBUCKET_APP_PASSWORD }}
BITBUCKET_USERNAME: ${{ secrets.GHORG_BITBUCKET_USERNAME }}
- name: Run GitLab Cloud Integration Tests
run: scripts/gitlab_cloud_integration_tests.sh
env:
GITLAB_TOKEN: ${{ secrets.GHORG_GITLAB_TOKEN }}
67 changes: 0 additions & 67 deletions .github/workflows/go.yml

This file was deleted.

20 changes: 9 additions & 11 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,30 @@ name: goreleaser
on:
push:
tags:
- '*'

permissions:
contents: write
- 'v*'
workflow_dispatch:

jobs:
goreleaser:
environment: actions
runs-on: ubuntu-latest
permissions:
contents: write
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
uses: actions/setup-go@v4
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GHORG_GITHUB_TOKEN }}

Loading