-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add --no-sign
as a no-op to Windows/Linux/Android packaging platforms
#486
Comments
hi, first timer here, can i take this up? |
@ElijahAhianyo Absolutely - go right ahead! If you need any pointers or suggestions, just ask - we're happy to provide any assistance we can. |
@freakboy3742 Great! I took a look at the src/briefcase/cmdline.py file and I figured adding an argument like so would do:
I'm not exactly sure if I'm on track or doing what's required. Do you have any suggestions on how this can be handled? |
That's the right argument to add; but the wrong place. If you take a look at the macOSAppPackageCommand in platforms/macOS/app.py, you'll see the mechanism by which As an aside, I imagine it would be worth migrating the "adhoc" and "identity" command options up as well; those are likely to be needed on other platforms. The exact format needed for "identity" will probably vary between platforms, but we can deal with that when we make the argument not a no-op. |
right. im guessing i'd have to move the command options to the parent class(src/briefcase/commands/package.py). |
The code move you've suggested sounds correct. As for the help text - the current text talks about ".app bundles", which is macOS terminology. The "generic" version should refer to "your app" (or whatever wording makes sense grammatically). The guidance about "40-digit hex or full name of identity", won't necessarily be accurate on other platforms either - but until we know what will be accurate, we might as well leave it as-is. There's also the help text in the documentation. The docs currently list the signing options as a macOS specific extension on the |
sure. ill do just that. Thanks a lot for taking the time to give detailed explanations and stating things clear. Means a lot to me. I'll go ahead and open a PR asap |
Fixed by #491 |
Is your feature request related to a problem? Please describe.
It is annoying to have special handling for the syntax of
briefcase package
commands, depending on whether you are packaging for Mac or Windows/Linux.As suggested by Russell in this comment
Describe the solution you'd like
We'd like to have
briefcase package
accept a--no-sign
argument regardless of the OS platform it's running on, and just have it be a no-op (no operation, do nothing) for Windows/Linux/Android.Describe alternatives you've considered
Right now I use if statements in my github actions to get around this.
Additional context
You can see the kind of special case handling we currently need to do to work around this in these lines of the traveltips github action to package and upload installers
The text was updated successfully, but these errors were encountered: