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

Spec-and-define writing wizard #17

Open
Artoria2e5 opened this issue Mar 24, 2021 · 0 comments
Open

Spec-and-define writing wizard #17

Artoria2e5 opened this issue Mar 24, 2021 · 0 comments

Comments

@Artoria2e5
Copy link
Member

Artoria2e5 commented Mar 24, 2021

A lot of Modern:tm: Package Managers have this magical init command to help people create an initial package-information file interactively. It might be a good idea to make one for the tree thing we have too.

A wizard should be able to ask for and fill in:

  • Package name and version
  • Package section (abbs tree and PKGSEC); with tab completion
  • Package source type selection (tbl, vcs, dummy)
    • Automatic addition of checksum
  • Package description
  • PKGDEP and BUILDDEP; with tab completion

I recommend using the readline library in Python. It's the old GNU readline with all the Emacs navigation shortcuts, quite useful for moving around "words" in the DEPS. And it seems to allow custom completers.

User story: Look at me. I am that one user, I am dumb and clumsy, and I can't edit text on a high-latency connection. Seriously, I found myself struggling over something this easy.


It would also be great to have a command for adding or removing DEPs for trial-and-error building. That would require reading the file though.

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

No branches or pull requests

1 participant