Skip to content

Move to flot 4.2.1#5

Closed
jonascarpay wants to merge 2 commits intondmitchell:masterfrom
jonascarpay:master
Closed

Move to flot 4.2.1#5
jonascarpay wants to merge 2 commits intondmitchell:masterfrom
jonascarpay:master

Conversation

@jonascarpay
Copy link
Copy Markdown

Fixes #4

This PR upgrades to flot 4.2.1. However, we've been trying to port criterion and generally found 4.2.1 to be much more annoying and finicky than 0.8.3, so we gave up instead ended up trying out chart.js. In general, I'm not entirely sure what's up with flot at this point. It seems that at some point someone did a big fork called engineering-flot, which was then merged into flot proper, but none of the major CDN's followed suit.

So, I'm not sure if you should actually merge this, but I'm opening this PR because I feel it would be strange for me to make that choice for you. Maybe we should just leave it open until there is some reason to merge it, and hopefully criterion will have switched to chart.js at that point?

@ndmitchell
Copy link
Copy Markdown
Owner

Thanks for the PR and investigations.

Yuk. I guess it seems to make sense for people to move to chart.js then. Would be good for someone to create a similar js-chart package, so that Haskell packages depending on it can get a distro-compliant source.

My inclination is to also freeze this package at the version its on, if its unlikely a new version would be of benefit to anyone.

@jonascarpay jonascarpay force-pushed the master branch 7 times, most recently from 198121a to f1221d1 Compare November 9, 2020 14:57
@ndmitchell
Copy link
Copy Markdown
Owner

Thanks for updating the PR. So I don't think hijacking this repo to be js-chart is a good idea - we should preserve this for the js-flot package as long as it remains a thing (which is probably forever). Instead, we should create a new js-chart package and repo. For that, the options are either of:

  1. We just use https://github.com/jonascarpay/js-chart as the upstream source forever, freezing this repo, and you become the primary maintainer of js-chart. I may well switch to js-chart, and might contribute to it, but its yours to do with as you wish. You might want to stop using my CI scripts, so you can have more control over the package, but that's entirely your choice.
  2. I fork your repo to ndmitchell/js-chart, review the changes, make a release. I'm primary maintainer, although you'd be welcome to be a secondary maintainer etc. in Hackage.

I'm perfectly happy with either of those, with a slight preference towards the first, since its fractionally less effort to me, but it is pretty fractional so I'm not too fussed either way.

@jonascarpay
Copy link
Copy Markdown
Author

jonascarpay commented Nov 9, 2020

Oops, sorry, I didn't realize I was changing this PR! I was using js-flot as a base since it's functionally the same, I didn't mean to actually suggest that this repo become the new js-chart. Sorry for the confusion! I'm essentially doing option 1, js-chart should be up on hackage/stackage soon.

I'm closing this PR. For posterity, if anybody comes across this and does want a js-flot for 4.2.1, you can find it here: https://github.com/jonascarpay/js-chart/tree/js-flot_4.2.1

@jonascarpay jonascarpay closed this Nov 9, 2020
@jonascarpay jonascarpay mentioned this pull request Nov 9, 2020
@ndmitchell
Copy link
Copy Markdown
Owner

Hehe, no worries - so are you planning to make and release a js-chart? I would be very keen to consider using such a thing.

@jonascarpay
Copy link
Copy Markdown
Author

Yeah, I'd like to depend on it for haskell/criterion#229. Travis is a bit congested, but I'm pushing to {h,st}ackage as soon as it's green.

@ndmitchell
Copy link
Copy Markdown
Owner

Great to see its up now - I've adjusted the readme of this repo to point people towards that. This repo is now mostly stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to flot 4.2.1?

2 participants