Giter Site home page Giter Site logo

"pulp release" about pulp HOT 6 CLOSED

purescript-contrib avatar purescript-contrib commented on September 26, 2024
"pulp release"

from pulp.

Comments (6)

bodil avatar bodil commented on September 26, 2024

I still think it might be wiser to keep the version and release commands distinct. Particularly in situations where git push fails for whatever reason, where you don't want to bump the version again to retry, and also just as a safety net for the user.

npm stores an auth token locally after requesting the user's npmjs.org credentials. It has a login command for this purpose, which also allows you to log in as another user by re-running it. We may want to replicate this as well.

So,

  • pulp login generates an auth token for Pursuit.
  • pulp version does the bump, but only if psc-publish doesn't object.
  • pulp publish (or pulp release? I'm just following npm's lead here) publishes the package to Bower (ie. git push, and we might actually want to run bower register here too?) and Pursuit.

from pulp.

hdgarrood avatar hdgarrood commented on September 26, 2024

Sounds good. I'll take a look at this after I've done the --dry-run option for psc-publish. Following npm's lead with the command names does seem sensible, and also I think publish describes the second stage better than release does (if we're splitting it into two stages). Also 👍 for bower register.

from pulp.

tfausak avatar tfausak commented on September 26, 2024

👍

from pulp.

damncabbage avatar damncabbage commented on September 26, 2024

Just following up from the chat with @hdgarrood in IRC; I'm having a crack at the above.

from pulp.

paf31 avatar paf31 commented on September 26, 2024

👍 I'd love to see this, since I often forget to upload docs to Pursuit right now. I'll help out if I can, but I need to get up to speed on the Pulp source first.

from pulp.

tfausak avatar tfausak commented on September 26, 2024

I would love to see this too. For what it's worth, you can automatically generate documentation on Travis CI: http://taylor.fausak.me/2015/11/15/automatically-generate-purescript-documentation/

from pulp.

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.