Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Project: mobanise tool #574

Open
jayvdb opened this issue May 12, 2018 · 4 comments
Open

New Project: mobanise tool #574

jayvdb opened this issue May 12, 2018 · 4 comments
Assignees

Comments

@jayvdb
Copy link
Member

jayvdb commented May 12, 2018

The process of converting a project to moban is similar to the coala-quickstart problem solved in the GSoC 2017 quickstart project

A lot of information needs to be extracted from various existing files, converted to yaml, and then moban run to generate those same files, and various commands run to identify what functional changes have been made by using the moban templates, and a human checking those changes to see if they were good.

Before this project is started, the info extraction components from quickstart need to be moved to a new library. Ideally that is done by the authors, with the history of the code retained in the new repository.

Then this project would involve improving that library, and creating a new command mobanise that uses the library to generate at least the two main files of moban, a .moban.yaml & <project name>.yaml.

https://github.com/coala/coala-quickstart/tree/master/coala_quickstart/info_extraction
https://github.com/coala/coala-quickstart/tree/master/coala_quickstart/info_extractors

The new tool should work on a variety of existing Python projects, especially hand-rolled setup.py that are not too complicated, pbr based projects, and including those using other systems such as versioneer.

cc @chfw

@satwikkansal
Copy link
Member

Yeah, we can move them to coalib or maybe a separate repository called info-parsers. Relevant: coala/coala-quickstart#117

@Naveenaidu
Copy link
Member

Naveenaidu commented Nov 16, 2018

@jayvdb The link to GSoC 2017 quickstart project is dead. Can you please update it.

The updated link is : https://github.com/coala/projects/blob/master/_projects/enhance-coala-quickstart.md

@chfw
Copy link

chfw commented Mar 26, 2019

I can help if people in SoC 2019 will get stuck with mobanising any projects.

@chfw
Copy link

chfw commented May 28, 2019

Instead of mobanise tool, could I propose an alternative?

it could be an ‘yehua.yaml’ + a list of static files and template files + individual template repos. Take yehua’s ability for standard python package as an example. it has pypi-mobans-pkg as template repo, and embeds a yehua file and a few stater files. Pyexcel also got similar setup for its plugins. It is similar to Cookiecutter’s approach.

https://github.com/moremoban/yehua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants