projects icon indicating copy to clipboard operation
projects copied to clipboard

New Project: mobanise tool

Open jayvdb opened this issue 7 years ago • 4 comments

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

jayvdb avatar May 12 '18 11:05 jayvdb

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

satwikkansal avatar May 12 '18 12:05 satwikkansal

@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

Naveenaidu avatar Nov 16 '18 11:11 Naveenaidu

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

chfw avatar Mar 26 '19 20:03 chfw

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

chfw avatar May 28 '19 07:05 chfw