asdf-community / asdf-python

Python plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
651 stars 56 forks source link

Allow comments in default packages #105

Closed spywhere closed 2 years ago

spywhere commented 3 years ago

It would be great if we could have support for comments in the .default-python-packages file.

If the implementation does also support an empty line, that would be even better. But that's not mandatory for my use case here.

This way, I could add some comments. For example, why do I need this particular package?

erikw commented 2 years ago

I would very much like this feature as well! It's important to be able to document on why I need a package (easy to forget when coming back to it after a while.)

asdf-ruby has support for blank and comment lineslines already: https://github.com/asdf-vm/asdf-ruby/blob/c6db9a376d1b01af9a5028f11fdfb96ab8902d60/bin/install#L100-L104

Update

asdf-nodejs now also supports comments! https://github.com/asdf-vm/asdf-nodejs/blob/364c0783408e25130c254abfaaec4747404c8f5e/bin/install#L102