Commit Graph

51 Commits

Author SHA1 Message Date
Massaki Archambault 937e5c341d add support for github users 2024-08-04 21:00:34 -04:00
Massaki Archambault a0aaa4491b add support for github orgs 2024-08-04 18:59:57 -04:00
Massaki Archambault 4e2b631a0c refactor config loader and add github config 2024-08-04 15:57:39 -04:00
Massaki Archambault 36b3963ac3 fix missing mutex lock 2024-07-19 00:12:39 -04:00
Massaki Archambault 2d0a62dc45 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-07-18 00:36:57 -04:00
Massaki Archambault 6d0d3fdfc0 guard gitlab cache Map with RWMutex to prevent concurrent read/write
fixes #11
2024-07-17 23:35:18 -04:00
Massaki Archambault 0a50158239 add config tests 2024-06-08 01:02:35 -04:00
Massaki Archambault a4ed751abd move config loader to its own package 2024-06-07 23:42:13 -04:00
Massaki Archambault e26f0ae865 fix cache invalidation 2024-06-07 12:17:40 -04:00
Massaki Archambault 4667c12e47 fix regression that caused more queries then necessary to be made to gitlab api 2024-06-06 21:46:29 -04:00
Massaki Archambault 8e350a7dac switch to slog for logging 2024-06-06 01:51:34 -04:00
Massaki Archambault b0b7f7b36d improve hostname match regex 2024-05-08 19:34:29 -04:00
Massaki Archambault 0ece3f05a3 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-05-07 23:58:14 -04:00
Massaki Archambault 324be5f1f6 entirely skip passing the --depth argument to git if the depth is configured to 0
fixes #7
2024-05-07 23:33:02 -04:00
Massaki Archambault de68c4952e reorganize gitlab package 2024-05-05 23:59:01 -04:00
Massaki Archambault cf77b16b23 refactor to decouple fstree package from git package 2024-05-05 19:53:04 -04:00
Massaki Archambault 652b7b43a6 rename fs package to fstree to avoid collision with go-fuse 2024-05-05 16:23:07 -04:00
Massaki Archambault b7683d4f24 refactor to decouple fs package from gitlab package 2024-05-05 16:09:03 -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
Massaki Archambault 40e5dbca80 gitlab datastructures 2020-12-26 22:30:19 -05:00
Massaki Archambault b3d31a2f64 go project setup 2020-12-26 14:38:09 -05:00
Massaki Archambault 8cfb9f062a add gitignore 2020-12-26 14:03:20 -05:00