-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to Semantic Versioning #182
Comments
Could you explain what it means for highlight.js in particular and what the change would gain us compared to current version naming scheme? |
It would make it way less stressful to update highlight.js to the latest version as you know what to expect. |
+1 $ bower install git://github.com/isagalaev/highlight.js.git#7.3
There were errors, here's a summary of them:
- highlight.js Could not find tag satisfying: highlight.js#7.3
The tag 7.3 could not be found within the repository Maintainers of bower wont to fix this, they're complaining that |
Any word on this—I would love to be able to |
Sorry, I'm a bit scarce on time lately and am slowly working through all the issues. I'm gonna look at this too when time allows. |
I found that semantic versioning alone wont help. There is a build step necessary for library to work. |
I'm not very familiar with bower and clien-side development, but why you cannot use npm to install and update highlight.js? Placing prebuilded versions for browsers/node/requirejs/broserify/bower/whatever into source repository is not a good idea. |
According to this issue: it looks like current versioning is very close to semver. |
Oh, I didn't know that "being close" to a standard is enough. -.- |
Can you refer to semver rules that was broken in last highlight.js releases? Only that hightlight.js uses X.Y not X.Y.Z versions? |
"Only"? That's basically the main point. Did you read the semver manifestat all? ^^ |
Before this thread turns into a war, let me look at it later today, we'll try to work something out then. |
Hello again everyone :-) It appears that we're talking about two different things here, let me address them individually (and tl;dr is at the bottom). bower installHighlight.js as a library can't be installed straight from the source, it simply doesn't work without the building process. The reason for this is that we have different build targets with different ways to expose the API so we keep our code in a minimal form that is then wrapped into the target format. It's the only non-fragile way of doing it. To support bower, someone has to contribute it as a new build target and maintain it further. This can be done as a patch to the current build tool or as a separate packaging project. The former is simpler but binds it to our release schedule, the latter is more independent and thus more complicated. Semantic versioningThe spec does make perfect sense but not enough for me to care, sorry :-). Though our process is compatible with what semver is proposing, we never distinguished between "fixing bugs" and "adding compatible functionality", as it doesn't add much value. The only thing that downstream usually cares about is whether an update is supposed to break things or not (and they still have to test it in any case). tl;dr
Does that make sense? |
Or more precisely, do something like:
|
…well, that's unfortunate. (Btw: Bower compatibility would be really great!) |
Closing for now, as there's nothing we can do on this side of the fence. Let me reiterate that it's perfectly possible to implement whatever packaging format for highlight.js, it's just can't live at this URL by default. |
@adius, @plasticine btw, looks like someone did precisely what I suggested: https://github.com/components/highlightjs. So there you have it :-). |
… notebook setting - bower highlight.js package is no good, even when forced to pull latest release, and is not supported (highlightjs/highlight.js#182) - fortunately someone has done the work to folk and create a different package (highlight.js vs highlightjs) - add switching of style through a dropdown in notebook setting - apply immediately to visualize change, revert if not save - add fetching list of style .css - change style by updating stylesheet link - grunt changes to copy highlightjs css and to run cssmin (+ also for looknfeel/*.css) - stylesheets need to remain individual links, on the right path, to switch so they have a separate steps to copy and cssmin without being concat'd - get wiredep to exclude default.css from the bower package since they are handled separately and have different path (not under bower_components when in yeoman.dist) - small change to md exception handling from cr feedback Possible issue? Sometimes the setting panel shows up without the correct style name selected, need to track down the repro steps still.
… notebook setting - bower highlight.js package is no good, even when forced to pull latest release, and is not supported (highlightjs/highlight.js#182) - fortunately someone has done the work to folk and create a different package (highlight.js vs highlightjs) - add switching of style through a dropdown in notebook setting - apply immediately to visualize change, revert if not save - add fetching list of style .css - change style by updating stylesheet link - grunt changes to copy highlightjs css and to run cssmin (+ also for looknfeel/*.css) - stylesheets need to remain individual links, on the right path, to switch so they have a separate steps to copy and cssmin without being concat'd - get wiredep to exclude default.css from the bower package since they are handled separately and have different path (not under bower_components when in yeoman.dist) - small change to md exception handling from cr feedback Possible issue? Sometimes the setting panel shows up without the correct style name selected, need to track down the repro steps still.
http://semver.org/
The text was updated successfully, but these errors were encountered: