Giter Club home page Giter Club logo

Comments (5)

jsuereth avatar jsuereth commented on September 14, 2024

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.

sirthias avatar sirthias commented on September 14, 2024

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.

jsuereth avatar jsuereth commented on September 14, 2024

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.

sirthias avatar sirthias commented on September 14, 2024

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.

jsuereth avatar jsuereth commented on September 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.