Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

release-bot init #168

Open
shresthagrawal opened this issue Mar 7, 2019 · 7 comments
Open

release-bot init #168

shresthagrawal opened this issue Mar 7, 2019 · 7 comments
Labels
feature New feature or a request for enhancement. good-first-issue Good for newcomers

Comments

@shresthagrawal
Copy link
Contributor

shresthagrawal commented Mar 7, 2019

I suggest a proposal to create an init script for release-bot. The user can go the root dir of the project and call something like release-bot init which will ask the user for some basic config questions and auto generate all the config files(conf.yaml and release-conf.yam) and get the repo ready for the release-bot.

@TomasTomecek
Copy link
Member

This is definitely a good suggestion! It will be very handy for new users.

In the other comment you mentioned a shell script. I'm personally very much against writing anything in shell, it should be all python and integrated into release-bot's codebase.

@TomasTomecek TomasTomecek added feature New feature or a request for enhancement. good-first-issue Good for newcomers labels Mar 7, 2019
@shresthagrawal
Copy link
Contributor Author

Python would work great! 👍

@z0marlin
Copy link
Contributor

z0marlin commented Mar 10, 2019

@shresthagrawal I would like to work on this issue. Could you please provide some more details about how you want this implemented, and where should I start from?

@shresthagrawal
Copy link
Contributor Author

@z0marlin Before reading below it would be really helpful if you once try release-bot in some test project or just skim through the code base. The proposal basically is to modify the existing cli and add an option for init. This will enable user to just get inside their main project repo and type 'release-bot init' which will add all the required yaml conf files into the root dir. Further the next step would be to also include the template.toml and .gitchangelog.rs which are the config script for the gitchangelog.

On a side note I am already working on it and also wrote some code for it, if you still wanna work on this issue I would rather choose something else. Or else I generally roam in freenode(IRC) by the name arash, feel free to pm me and I can help you to get started on some other issue or understanding the codebase.

@z0marlin
Copy link
Contributor

Alright! Will look for other issues. I also did try the bot on a private repo. One problem that I observed was, I was being asked for username and password every time the bot performed a check. Is this intended behavior?

@TomasTomecek
Copy link
Member

@z0marlin Could you please create a new issue for that and include more info?

@z0marlin
Copy link
Contributor

Created issue #179

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or a request for enhancement. good-first-issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants