-
Notifications
You must be signed in to change notification settings - Fork 27
add or replace options names in configuration file #230
Comments
Also, we should consider which options in |
From the perspective of ogr, you can use both ways: get_project(url=clone_url, token=git_token) get_project(url=clone_url, custom_instances=[PagureService(token=pagure_token, instance_url="pagure.io"), GithubService(token=github_token)]) |
Yes, the usage of ogr is clear to me. I'm just asking if I can replace option My question is only about the naming of various options in |
I would go for this option since in most cases you will be doing releases of one project just from one repository - either GitHub or pagure. In the future, when one instance of RB will be able to handle more projects this could be solved just by adding the second repo to the configuration as well. |
yes
+1 |
Related to #190
In
conf.yaml
we have options likegithub_token
,github_username
orclone_url
.Now, when we started to replace Github API calls with ogr. Release bot will be available also for Pagure. What can we do with conf file:
We add new options to the configuration file like
pagure_token
,pagure_username
,github_clone_url
andpagure_clone_url
.Or we replace original names just for
git_token
,git_username
,clone_url
.The first one is more obvious. The second one gets rid of redundant options in configuration - one option for Github and Pagure.
The text was updated successfully, but these errors were encountered: