Massaki Archambault
b85b3c679d
create vscode launch configuration
2024-12-29 16:16:53 -05:00
Massaki Archambault
8a6e5b122b
fix install command in readme
2024-08-15 10:47:42 -04:00
Massaki Archambault
1ab51a10a1
fix typo
2024-08-14 22:03:28 -04:00
Massaki Archambault
666186c699
create changelog
2024-08-14 22:03:28 -04:00
Massaki Archambault
710dd50091
remove media folder
2024-08-14 22:03:28 -04:00
Massaki Archambault
34f3b904e9
change user configuration of gitlab to user name
...
This should be easier to configure than having to hunt down the user id
2024-08-14 22:03:28 -04:00
Massaki Archambault
68cbf311b8
rewrite readme
2024-08-14 22:03:28 -04:00
Massaki Archambault
23e78ec886
rename project to gitforgefs
2024-08-14 22:03:28 -04:00
Massaki Archambault
3ea4cfcbf8
default to config.yaml
2024-08-14 22:03:28 -04:00
Massaki Archambault
9009c4b07f
tweak host match regex
2024-08-14 22:03:28 -04:00
Massaki Archambault
d37b3eb0eb
update dependencies
2024-08-14 22:03:28 -04:00
Massaki Archambault
36f635b46e
fix inode collision
2024-08-14 22:03:28 -04:00
Massaki Archambault
2dc97f1672
remove staticInoChan, as it's redundant
2024-08-14 22:03:28 -04:00
Massaki Archambault
3e84321e85
add gitea forge support
2024-08-14 22:03:28 -04:00
Massaki Archambault
c8f3de248f
refactor to respect naming convention
2024-08-14 22:03:28 -04:00
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