Comments (5)
Yeah, I still haven't figured out a decent way to do that and keep the plugin as a "user level" install....
Can you let me know what the conflict is now?
from sbt-pgp.
The problem in parboiled is that I have 5 sub-projects underneath the root, of which only 3 need to be published (the others are examples). I'd like to be able to simply say publish-signed
on the root level and have the 3 main sub-projects run the task.
Up until sbt-pgp release 0.7 I actively disabled publishing for the 2 example projects by setting publish := ()
for them. However, with 0.8 setting publish-signed := ()
doesn't have any effect, because the plugin default settings appear to be set last thereby taking precedence over my futile overriding attempt.
I can see two possible solutions: Either sbt-pgp let's me build up the sub-project settings constructively (i.e. I must be able to explicitly activate them, what this ticket is trying to get across) or SBT must allow me to override the default settings coming in with a plugin. Maybe the latter would be a good thing in any case. You think I should open an SBT ticket for this?
from sbt-pgp.
Ah, yeah, these were my big concerns with moving to publish-signed.
AN sbt feature enhancement is a good idea. Also, I might add a convenient "turn off" setting, like publish := (), but
SettingKeyBoolean := true
Or some such....
from sbt-pgp.
An extra "turn off" setting would fix my particular issue but would also be the least general solution (as the core problem would remain the same for other projectSettings
).
I'll add an SBT ticket for enabling overridden plugin default settings...
from sbt-pgp.
So we'll be migrating to AutoPlugins with sbt 0.13.5 which should finally be a way to ensure the PGP settings are turned off. It will always be an "opt-out" plugin as it's meant to be unobtrusive.
from sbt-pgp.
Related Issues (20)
- Website does not show recent versions HOT 1
- sbt +release fails with GPG error HOT 6
- checkPgpSignatures: java.lang.IllegalArgumentException: Cannot add artifact HOT 3
- Publishing fails with invalid packet error HOT 2
- publishSigned fails after upgrade to 2.0.0-M2 HOT 4
- Signing with gpg must be done serially to avoid gpg-agent running out of memory HOT 8
- SBT_PGP_USE_GPG is a system property, not an environment variable
- pgpSigningKey can't be found using credentials method
- support GPG 2.1 and above HOT 4
- Setting custom GPG key results in a misleading error-level log entries HOT 2
- Not support a GPG key without passphrase?
- Missleading error "gpg-agent is not available" HOT 2
- When PGP_PASSPHRASE environment variable is set we should also set --pinentry-mode = loopback HOT 7
- No route to host HOT 3
- Server redirected too many times HOT 6
- ThisBuild / pomIncludeRepository
- "gpg: invalid option "--pinentry-mode"" when gpg is 2.0 HOT 1
- How to switch to a different keyserver? HOT 3
- gpg: signing failed: File exists HOT 7
- fail if the specified key does not exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-pgp.