Changeset View
Changeset View
Standalone View
Standalone View
config/config.lisp.tmpl
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
; from the script. | ; from the script. | ||||
(setf forgerie-phabricator:*phabricator-location* nil) | (setf forgerie-phabricator:*phabricator-location* nil) | ||||
; A list of plists of override commands for projects. Each item in the list is of the form | ; A list of plists of override commands for projects. Each item in the list is of the form | ||||
; '(:key KEY :repository SLUG) | ; '(:key KEY :repository SLUG) | ||||
; | ; | ||||
; Where the KEY is the database id of the project, and the SLUG is which repository that this | ; Where the KEY is the database id of the project, and the SLUG is which repository that this | ||||
; project should be a primary project of. Then the project will be removed from all other | ; project should be a primary project of. Then the project will be removed from all other | ||||
; repositories it might be assigned to. The ramification of this is that tasks that are | ; repositories it mgiht be assigned to. The ramification of this is that tasks that are | ||||
; part of this project, for instance, will be assigned to the repository in various forgeries | ; part of this project, for instance, will be assigned to the repository in various forgeries | ||||
; that link project and repository. | ; that link project and repository. | ||||
(setf forgerie-phabricator:*project-assignment-overrides* nil) | (setf forgerie-phabricator:*project-assignment-overrides* nil) | ||||
; A list of plists for overriding certain features of projects. The plists are of the form | ; A list of plists for overriding certain features of projects. The plists are of the form | ||||
; '(:key KEY :action ACTION) | ; '(:key KEY :action ACTION) | ||||
; | ; | ||||
; Where KEY is the id of the database. ACTION can be either :skip or :update. | ; Where KEY is the id of the database. ACTION can be either :skip or :update. | ||||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
(setf forgerie-gitlab:*ssh-public-key* nil) | (setf forgerie-gitlab:*ssh-public-key* nil) | ||||
; A plist of the form '(:name NAME :path SLUG) that defines the group in which | ; A plist of the form '(:name NAME :path SLUG) that defines the group in which | ||||
; all created projects will be placed. NAME is the proper name for the group, | ; all created projects will be placed. NAME is the proper name for the group, | ||||
; while SLUG is the url slug. If NIL, the projects will all be created at the | ; while SLUG is the url slug. If NIL, the projects will all be created at the | ||||
; top level. | ; top level. | ||||
(setf forgerie-gitlab:*default-group* nil) | (setf forgerie-gitlab:*default-group* nil) | ||||
; A tuple of the form '(HOST COMMAND) that informs the gitlab forgerie | ; By default, using ssh, a tuple of the form '(HOST COMMAND) that informs the gitlab | ||||
; how to run rails commands over ssh. It will always use SSH, even if | ; forgerie how to run rails commands over ssh. It will always use SSH, even if set up to | ||||
; set up to run on localhost, so keys must be installed to ssh to localhost. | ; run on localhost, so keys must be installed to ssh to localhost. When overriden to | ||||
; another command like kubectl, a list '(COMMAND) for the necessary extra args that the | |||||
; command requires to run. | |||||
; | ; | ||||
; An example for a server using docker might be: | ; When using ssh, an example for a server using docker might be: | ||||
; | ; | ||||
; '("ssh.gitlab.yourdomain.tld" "docker exec -i gitlab /opt/gitlab/bin/gitlab-rails c") | ; '("ssh.gitlab.yourdomain.tld" "docker exec -i gitlab /opt/gitlab/bin/gitlab-rails c") | ||||
; | ; | ||||
; A useful thing to do is to run ssh on the server for non git purposes on port 2222, and then | ; A useful thing to do is to run ssh on the server for non git purposes on port 2222, and | ||||
; set up your .ssh/config to have the following: | ; then set up your .ssh/config to have the following: | ||||
; | ; | ||||
; Host ssh.gitlab.yourdomain.tld | ; Host ssh.gitlab.yourdomain.tld | ||||
; User <user> | ; User <user> | ||||
; Port 2222 | ; Port 2222 | ||||
; IdentityFile ~/.ssh/your_identity_file | ; IdentityFile ~/.ssh/your_identity_file | ||||
(setf forgerie-gitlab:*rails-console-ssh-args* nil) | ; | ||||
; When using kube, an example might be: | |||||
; | |||||
; '("exec -ti -n gitlab-system deployment/gitlab-toolbox -- /srv/gitlab/bin/rails console") | |||||
(setf forgerie-gitlab:*rails-command-args* nil) | |||||
; A function that takes an argument of a forgerie-core:merge-request and | ; A function that takes an argument of a forgerie-core:merge-request and | ||||
; returns a string that will be appended to the description of created merge requests. | ; returns a string that will be appended to the description of created merge requests. | ||||
; | ; | ||||
; Useful to create backlinks to the previous system, or addition migration information | ; Useful to create backlinks to the previous system, or addition migration information | ||||
(setf forgerie-gitlab:*merge-request-suffix* nil) | (setf forgerie-gitlab:*merge-request-suffix* nil) | ||||
; A function that takes an argument of a forgerie-core:ticket and | ; A function that takes an argument of a forgerie-core:ticket and | ||||
; returns a string that will be appended to the description of created tickets (issues). | ; returns a string that will be appended to the description of created tickets (issues). | ||||
; | ; | ||||
; Useful to create backlinks to the previous system, or addition migration information | ; Useful to create backlinks to the previous system, or addition migration information | ||||
(setf forgerie-gitlab:*ticket-suffix* nil) | (setf forgerie-gitlab:*ticket-suffix* nil) | ||||
; If non nil, will only add users to the gitlab instance if they are active in the | ; If non nil, will only add users to the gitlab instance if they are active in the | ||||
; items also coming over for processing. Useful when doing piecemeal conversions. | ; items also coming over for processing. Useful when doing piecemeal conversions. | ||||
(setf forgerie-gitlab:*limit-to-active-users* nil) | (setf forgerie-gitlab:*limit-to-active-users* nil) | ||||