-
Notifications
You must be signed in to change notification settings - Fork 12
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
Input feature #30
Comments
Doing this was much easier than I expected, with only difference in actual command being " "(space) instead of ","(comma) which in my view is better. Should I create a PR of this in upt repo? |
So, what exactly is the use case here? Was it brought up by @reneeotten or @mojca? One (obvious) issue here is: what happens if you are using stdout as the output file? Will you end up with a few package definitions printed on your terminal, one after the other? |
I had added it to the proposal as its a feature in "cpan2port" and cause instead of executing again and again for different packages we would have to write the prefix part "upt package -f .. -b .. " everytime. Yeah agree that issue is there, but speaking from macports point of view, I would say almost all maintainers would use the output feature and maybe we should even default to it for macports like if no output arg is given the create a ports folder in the current directory. |
OK. Please create a PR in the upt repo. There might be some changes in how the command line works (see #28 (comment)), so I may have to rework your patch, though. |
If such an "input" option is easy to implement I have no objections against it (it is indeed present in |
Should we close this issue as we are not implementing input feature anymore? |
Yeah, let's close it. This is a weird use case. We can always reopen this later, and in the meantime it's easy to work around this using a shell script :) |
The functionality to be added is most probably in upt itself and not in upt-macports.
It is inspired by cpan2port, so basically instead of just passing one port at a time we can have below two options:
So here pkgs.list is a file containing package name.
What are your views on this ?
The text was updated successfully, but these errors were encountered: