Coder Social home page Coder Social logo

SQL comments? about korma HOT 16 OPEN

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024
SQL comments?

from korma.

Comments (16)

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024

@immoh are you in charge? I probably still have commit rights, but would love to get feedback on this quick branch I hacked up pretty fast.

from korma.

immoh avatar immoh commented on June 17, 2024

@AlexBaranosky I am still in charge but there hasn't been much activity on Korma lately (latest release is almost 1 year ago).

This seems like something that could be useful to other people so I am ok with taking it in.

from korma.

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024

@immoh any considerations about the fn name add-comment or anything in the implementation? Then I can PR it.

from korma.

immoh avatar immoh commented on June 17, 2024

@AlexBaranosky Implementation looks good, name is fine too.

from korma.

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024

@immoh PR created: #380

from korma.

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024

hmmm let me fix that... I guess there was a big change between my branch and master where I rebased it... or maybe I just screwed up the rebase :)

from korma.

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024

fixed, and merged #380

from korma.

AlexBaranosky avatar AlexBaranosky commented on June 17, 2024

@immoh what's the process for doing a Korma release... I forget, it's been a while. Is it documented at all?

git diff master v0.4.3 is not a small amount of changes. Maybe it's time to release 0.4.4?

from korma.

venantius avatar venantius commented on June 17, 2024

I gave Chris a ping on Twitter to ask about release processes. I agree that we should have an 0.4.4 release soon; it's rarely a good idea to accumulate too many commits between releases.

from korma.

immoh avatar immoh commented on June 17, 2024

I was supposed to reply to this long time ago but somehow it slipped my mind. I have been doing releases in the following way:

  • Create a commit that contains:
    • Version update in project.clj from (0.4.4-SNAPSHOT to 0.4.4)
    • Version update in README.md
    • Generated Codox docs
    • Release notes in HISTORY.md
  • Deploy new jar to Clojars (lein deploy clojars?)
  • Tag commit with v0.4.4
  • Create a new commit in gh-pages branch that updates the docs (visible in http://korma.github.io/Korma/)

However, thereโ€™s a problem with current master that it may not be in a releasable state even though tests are passing. There were some pretty big changes in master there were not 100% completed and I made release v0.4.3 from separate branch where I cherry-picked some changes from master. Remaining work for 0.5.0 was tracked here: https://github.com/korma/Korma/milestone/2. This work needs to be completed.

Another option would be to revert all changes from master that have been done before v0.4.3 release but are not included in the release.

from korma.

venantius avatar venantius commented on June 17, 2024

Ah. Hm.

I don't love the idea of having master being unclean or deviant from the actual releases. I'm not sure what the right approach should be here. My naive suggestion would be that we just mark master head as a release candidate for 0.5.0 and release it as 0.5.0-rc1 and try to get feedback from the community about whether anything breaks for them. That gives us a bit of room to address issues and will increase our confidence about being able to release 0.5.0 safely.

#313 is the only issue currently blocking on the 0.5.0 milestone - is that an absolutely necessary issue for the release?

from korma.

immoh avatar immoh commented on June 17, 2024

Yes, definitely a bad decision on my side to have master unclean.

I cannot remember all the details as it has been a while since I worked on Korma. I looked at the closed issue in the milestone and the big change in 0.5.0 is removal of global options (breaking change). This can cause wrong delimiters being used in certain situations and #313 is about this. It is hard to say if it's absolutely necessary. I think cutting a release candidate and getting feedback from the community sounds like a reasonable approach.

from korma.

venantius avatar venantius commented on June 17, 2024

I don't think I have release rights in Clojars - do you might actually cutting the release? I'm happy to handle messaging to Clojurians, the Clojure/Korma Google groups, etc.

from korma.

immoh avatar immoh commented on June 17, 2024

Sure, I will try to find time to do it later today.

@AlexBaranosky you are also admin of Clojars korma group - could you add @venantius to the group?

from korma.

immoh avatar immoh commented on June 17, 2024

0.5.0-RC1 is now published to Clojars. I didn't change version in README, probably it makes sense to mention both last stable version and release candidate versions.

from korma.

venantius avatar venantius commented on June 17, 2024

I've now sent the email to the Clojure google group, the Korma google group, and Clojurians.

from korma.

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.