Massaki Archambault
367d770371
refactor platform -> forge
2024-08-14 22:03:28 -04:00
Massaki Archambault
c14a9ce30c
refactor gitlab current user
2024-08-14 22:03:28 -04:00
Massaki Archambault
7b06b68dbd
add support for github current user
2024-08-14 22:03:28 -04:00
Massaki Archambault
baf013f834
add support for github users
2024-08-14 22:03:28 -04:00
Massaki Archambault
0ddc4e515e
add support for github orgs
2024-08-14 22:03:28 -04:00
Massaki Archambault
abf8507673
refactor config loader and add github config
2024-08-14 22:03:28 -04:00
Massaki Archambault
dca46e8c69
fix missing mutex lock
2024-08-14 22:03:28 -04:00
Massaki Archambault
7856de56b5
hide archived project by default
...
prefix archived project name with a "." by default
so they appear hidden on the filesystem.
At the same time, added the configuration gitlab.archived_project_handling
to set how archived projects are handled
2024-08-14 22:03:28 -04:00
Massaki Archambault
471b0061b5
guard gitlab cache Map with RWMutex to prevent concurrent read/write
...
fixes #11
2024-08-14 22:03:28 -04:00
Massaki Archambault
65d3a00fa3
add config tests
2024-08-14 22:03:28 -04:00
Massaki Archambault
96f250fc47
move config loader to its own package
2024-08-14 22:03:28 -04:00
Massaki Archambault
7fccd4b91d
fix cache invalidation
2024-08-14 22:03:28 -04:00
Massaki Archambault
8293825c2b
fix regression that caused more queries then necessary to be made to gitlab api
2024-08-14 22:03:28 -04:00
Massaki Archambault
8c53ccea6a
switch to slog for logging
2024-08-14 22:03:28 -04:00
Massaki Archambault
074cc9a349
improve hostname match regex
2024-08-14 22:03:28 -04:00
Massaki Archambault
e9670d59a1
Check if git support --initial-branch before attempting to use it on init
...
`git init --initial-branch` was only added in git
version 0.28.0. We parse the git version and
check if the argument is supported before using it
Fixes #8
2024-08-14 22:03:28 -04:00
Massaki Archambault
38362eebdd
entirely skip passing the --depth argument to git if the depth is configured to 0
...
fixes #7
2024-08-14 22:03:28 -04:00
Massaki Archambault
45cef75960
reorganize gitlab package
2024-08-14 22:03:28 -04:00
Massaki Archambault
735a803cdb
refactor to decouple fstree package from git package
2024-08-14 22:03:28 -04:00
Massaki Archambault
0c647a692f
rename fs package to fstree to avoid collision with go-fuse
2024-08-14 22:03:28 -04:00
Massaki Archambault
5ed64d523e
refactor to decouple fs package from gitlab package
2024-08-14 22:03:28 -04:00
Massaki Archambault
026089d786
remove completed improvements from readme
2022-11-25 12:26:26 -05:00
Massaki Archambault
9de94ea8fe
update install instructions
2022-11-25 12:25:47 -05:00
Massaki Archambault
d0bc974df1
fix race condition when multiple instance of git clone may get launched at the same time
2022-03-03 17:47:36 -05:00
Massaki Archambault
3cffbbf8a9
add the ability to pass mount options to fusermount
2021-08-13 13:40:26 -04:00
Massaki Archambault
7fad1c2b43
remove -t argument from `git remote add` command. fix #5
2021-08-13 13:40:22 -04:00
Massaki Archambault
fb11c3f5c5
systemd user unit do not support network-online.target, use default.target instead
2021-08-13 13:40:15 -04:00
Massaki Archambault
86618a82f5
update modules, fix panic on exit
2021-03-23 22:56:16 -04:00
Massaki Archambault
7afde6a9eb
correctly honor include_current_user config option
2021-03-23 22:18:48 -04:00
Massaki Archambault
bfdb1f0946
add systemd unit exemple
2021-03-21 21:52:22 -04:00
Massaki Archambault
d72dc6d769
handle SIGINT and SIGTERM
2021-03-21 21:45:59 -04:00
Massaki Archambault
ae81ad1ac7
fix incorrect call to Server.Wait() instead of Server.Serve()
2021-03-03 00:36:11 -05:00
Massaki Archambault
76bba479b5
rename projects folder to groups
2021-03-03 00:34:32 -05:00
Massaki Archambault
50ff5208fb
fix missing error reporting on startup
2021-03-03 00:25:49 -05:00
Massaki Archambault
3c7ad94844
cleanup on_clone configuration option
2021-03-03 00:24:27 -05:00
Massaki Archambault
cec8ea9806
Merge branch 'fix-default-branch'
2021-03-02 23:45:29 -05:00
Massaki Archambault
cd50e0fe26
replace go-git dependancy with plain git
2021-03-02 23:43:38 -05:00
Massaki Archambault
4ac4f3e84d
fix import
2021-01-25 14:41:39 -05:00
Massaki Archambault
ab4d1d6a7e
fix default initial branch ignoring the project default branch and always be set to master
2021-01-18 00:24:26 -05:00
Massaki Archambault
4d504d9f5a
fix #1 : fix segfault on group or user request failure
2021-01-17 23:34:58 -05:00
Massaki Archambault
f3f6c26557
write README
2020-12-31 17:04:26 -05:00
Massaki Archambault
e43d9520f8
add refresh "button"
2020-12-31 16:29:11 -05:00
Massaki Archambault
8d3f49061b
fix choices in comment
2020-12-31 12:34:38 -05:00
Massaki Archambault
6770c68955
bugfix: fix subgroup not appearing when authenticated
2020-12-30 21:35:28 -05:00
Massaki Archambault
87bc3976b1
split clone and pull in their own worker
2020-12-30 21:18:18 -05:00
Massaki Archambault
66fbf713d1
add config file
2020-12-30 18:05:19 -05:00
Massaki Archambault
9b09b6aef9
add support for user repos
2020-12-29 19:53:30 -05:00
Massaki Archambault
4aca123c98
prepare fs for eventual inclusion of user repos
2020-12-28 22:51:23 -05:00
Massaki Archambault
2063df8920
basic git clone implementation
2020-12-28 21:37:18 -05:00
Massaki Archambault
2542edc3b7
start of fuse filesystem implementation
2020-12-27 02:23:00 -05:00