- Notifications
You must be signed in to change notification settings - Fork 255
Update bundle/ functions #1648
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
Update bundle/ functions #1648
Conversation
| I think In the context of reading docstrings without source (e.g. on the core api page where there is no source code visible), I think it might be better to not say A perhaps less relevant remark concerns the use of Although Windows might allow use of Possibly instead of text like:
we could say instead something like:
Side benefit: the suggested alternative actually takes less characters :) |
acc6c75 to 1ed9deb Compare | I agree with @sogaiu about |
| Re: 3. changes :has-bin-script to :has-bin I started looking a bit more closely at It seems there is a difference between a
Not sure what the consequences of |
| I've only managed to find a couple of places where
The comment from the OP:
seems correct for |
| A bit of a tangent...looking at I have some bundle scripts that dynamically create a file only to erase it after calling |
| Regarding I failed to mention in this comment that the two linked locations are in May be that means that if there is going to be a change here, it would be better for there to be a coordinated change in |
| @sogaiu The Spork functions set the value of |
| IIUC, the change in this PR is within a function that checks an associated value of May be due to timing or ordering it doesn't make a difference? It seemed possible that the Perhaps this is all mistaken though 😅 |
| Oh, sorry, I misunderstood. Yes, those two functions in Spork would need to be updated if this change is accepted. However, also yes that the only thing that would occur if they were not updated is that a message on installation would not be printed out. |
| Another thing I noticed is that Not too many users at this point are likely to have these files and I guess the values are not really used in any other way...so not really a problem? |
| Yeah, that would be my view. I searched across GitHub just now and the only files with a |
| The man page stuff was left out because it seemed weird to commit to man pages as a form of documentation for all operating systems including windows. But I'm not totally opposed to it, but maybe make it clear that we can support other forms of documentation besides man pages?
Then this is not going to happen. Let's just leave the current keyword as |
Umm, OK, but what are we supposed to do if we have executable files to install that are not scripts? It seems very odd that you shouldn't use To be clear, I care about this because Predoc is not a binscript. What should I do? |
| I'm not particularly dogmatic on On unix/posix, a "script" isn't really that different than a "program", the key point is just that they are things you want on your PATH environment variable. On windows there is a bit more difference but not that much. The message is to indicate where executables are being installed too so that a user can find them or update their PATH. |
Does |
| I have cherry picked all the commits except the change on the manifest format. Thanks for the help here, @pyrmont! I'm going to close this issue - if there is further reason/discussion for making more distinction between executable scripts and programs, lets have another issue/PR. |
This PR updates the
bundle/functions. It does four things::dependenciesto:postdeps:has-bin-scriptto:has-binbundle/add-manpagefunctionThe changes are in four separate commits so that they can be cherry-picked if one or more of them are undesirable.
I think the changes are mostly self-explanatory but the reason to change
:has-bin-scriptto:has-binis because the file that is added to the binpath is not necessarily a binscript. Or at least, I can’t see any reason why it is necessarily a binscript (in Predoc, I add a file usingbundle/add-binand it is a compiled file).