Commit Graph

64 Commits

Author SHA1 Message Date
Massaki Archambault c5df43b3e7 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 00:01:49 -04:00
Massaki Archambault d1c82e1329 rewrite readme 2024-08-13 23:45:09 -04:00
Massaki Archambault 46217c1a9d rename project to gitforgefs 2024-08-13 23:32:29 -04:00
Massaki Archambault d3e211e1cb default to config.yaml 2024-08-13 22:22:50 -04:00
Massaki Archambault 53450730c9 tweak host match regex 2024-08-13 22:18:20 -04:00
Massaki Archambault 3180af5bd4 update dependencies 2024-08-09 17:12:48 -04:00
Massaki Archambault 70f269e25e fix inode collision 2024-08-09 16:43:30 -04:00
Massaki Archambault caa030b03b remove staticInoChan, as it's redundant 2024-08-09 16:17:47 -04:00
Massaki Archambault ed1dc2517a add gitea forge support 2024-08-09 16:13:57 -04:00
Massaki Archambault bc8ae0a3c8 refactor to respect naming convention 2024-08-08 23:44:12 -04:00
Massaki Archambault 1a01c9ecea refactor platform -> forge 2024-08-04 21:45:51 -04:00
Massaki Archambault 0e5fed0bbd refactor gitlab current user 2024-08-04 21:39:15 -04:00
Massaki Archambault 382a0f6d8d add support for github current user 2024-08-04 21:16:03 -04:00
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