Comments (30)
There is a workaround that can be quickly set up for v7 users, in order to continue to use the package as is, as long as the v8 has not been released :
- Locally copy the
vendor/consoletvs
andvendor/chartisan
directories in a newpackages
directory (positioned at the root of your project), to get the following structure:./packages/consoletvs/charts
./packages/chartisan/php
- Update the
./packages/consoletvs/charts/composer.json
and set"chartisan/php": "@dev"
instead of a specific version number - Update your
./composer.json
and set"consoletvs/charts": "@dev",
instead of a specific version - Add a the following instruction in your
./composer.json
, at the root of the json:
"repositories": [
{
"type": "path",
"url": "./packages/consoletvs/charts"
},
{
"type": "path",
"url": "./packages/chartisan/php"
}
],
The copied sources should be now used instead of the packagist or github ones.
from charts.
Hey guys, sorry for all the trouble. As @tabacitu said, I got a trademark notice for the v7 / chartisan project. Therefore I had to shut down the entire project. The charts repository was indeed affected as well.
For the time being, I was able to get the Charts repository created after getting in touch with github (and lost all stars, tags and commits).
Therefore I could only publish v6.
V7 will never be recovered. Instead, I have already started working on what would have been v8. But I think this will be left in a new package. I will have more information on that as time moves on.
In the meantime, thanks a lot for the support. I am deeply sorry for v7 users, but there's no way I can republish that without dealing with namespace issues (where the trademark would apply).
To be fair, anybody with the v7 version are actually in danger as well as the trademark could be used against them. So that's why I had decided to just shut it down. Not only to protect myself but also businesses and individuals using it.
from charts.
Any idea when v8 will be released?
from charts.
Indeed - v7 is down for now, but will be back up. If you're wondering why - the author got slapped with a trademark violation notice. See this Twitter thread for more info. It's a horrible thing to happen to you as an OSS maintainer, to have legal action threatened against you, when your only intention was to build free stuff for people. So please be mindful.
What I get from what Erik said:
- v6 will be back online faster, since it isn't affected (it's already up, only docs remaining);
- v7 will take a little longer to bring back online, since it needs a rename;
from charts.
What can we do to be supportive or helpful with getting v8 developed, tested and available?
from charts.
@juanitocbsi what do you mean by "no longer working"?
Thanks! My pipeline is no longer deploying v6. I get a 404.
from charts.
Same here, missing here version 7.2
from charts.
Same here, any workaround?
from charts.
- for v6 you should be ok, for me it works now, just make sure you purge the Composer cache;
- for v7 no solution that I know of yet, no;
from charts.
And where's the api link for v6, the project keep crushing cause the api link in the composer.lock file.
Thanks in advance
from charts.
What's an API link?
The docs are here: https://charts.erik.cat/
And the project is still consoletvs/charts
for v6.
from charts.
https://api.github.com/repos/Chartisan/Charts/zipball/fc73038a006ddc2d6b277b9567ee01c6272448b3
Try this link
from charts.
The v6 of this library does not involve anything related to the project chartisan
that was shut down for a trademark notice. You probably used v7, and this will never be recovered. You should read my comment above.
from charts.
{
"name": "consoletvs/charts",
"version": "6.5.6",
"source": {
"type": "git",
"url": "https://github.com/Chartisan/Charts.git",
"reference": "fc73038a006ddc2d6b277b9567ee01c6272448b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Chartisan/Charts/zipball/fc73038a006ddc2d6b277b9567ee01c6272448b3",
"reference": "fc73038a006ddc2d6b277b9567ee01c6272448b3",
"shasum": ""
},
That's in composer.lock
And in composer.json
"consoletvs/charts": "6.*",
It's v6 not 7
from charts.
The repository was changed to https://github.com/ConsoleTVs/Charts instead of https://github.com/Chartisan/Charts to avoid copyright claims. Please update your composer lock file!
from charts.
Okay I'll, and the other link, please find solution for that too.
And thank you.
from charts.
There is not going to be a solution. That package is using a trademarked name on the source code level. It is not coming back.
from charts.
Guys, I am using 6 but it is no longer working. Any ideas?
from charts.
@juanitocbsi what do you mean by "no longer working"?
from charts.
Hi I tried to run this command
composer require consoletvs/charts:6.*
but composer returns error zsh: no matches found: consoletvs/charts:6.*
I whole project stop working after I run composer install because I was using this into my project any other ways how can I downgrade the package version so my web start working ?
I tried to change composer.json file and change the version from 7.* to 6.* but when I run composer install it stills return error.
from charts.
Does it work after you run composer clearcache
?
from charts.
@ConsoleTVs anything we can do to help with v8 get backup online? production projects are massively failing.
from charts.
@ConsoleTVs anything we can do to help with v8 get backup online? production projects are massively failing.
You mean v7? No. It will never be online again. It was using a trademarked name in the source code. There's no way to fix that.
As for a new release, it is possible we get a new version of this sooner or later. But the v7 won't come back.
from charts.
@ConsoleTVs anything we can do to help with v8 get backup online? production projects are massively failing.
You mean v7? No. It will never be online again. It was using a trademarked name in the source code. There's no way to fix that.
As for a new release, it is possible we get a new version of this sooner or later. But the v7 won't come back.
Thanks, @ConsoleTVs for the response. To be clear, I meant v8, do you have a timeline in mind? I have some spare time and would love to be of help.
from charts.
It will never be online again. It was using a trademarked name in the source code.
@ConsoleTVs Maybe a dumb question, but is it not possible to simply find and replace the name in the whole source code?
If the only problem is a word presence, it should be quite doable, right?
I mean the code base was really great, quite a significant number of projects was using it, and just only in this ticket we are already 3 people to offer our help to sort this out.
from charts.
It will never be online again. It was using a trademarked name in the source code.
@ConsoleTVs Maybe a dumb question, but is it not possible to simply find and replace the name in the whole source code? If the only problem is a word presence, it should be quite doable, right?
I mean the code base was really great, quite a significant number of projects was using it, and just only in this ticket we are already 3 people to offer our help to sort this out.
It's a breaking change. Requires both, package name changes and namespace changes, therefore it is not really worth because the fix won't be easy and require changes to codebases, so there's no real benefit that I can see here. (and keep in mind this changes are also on the frontend packages as well, so a real mess here)
@ConsoleTVs anything we can do to help with v8 get backup online? production projects are massively failing.
You mean v7? No. It will never be online again. It was using a trademarked name in the source code. There's no way to fix that.
As for a new release, it is possible we get a new version of this sooner or later. But the v7 won't come back.Thanks, @ConsoleTVs for the response. To be clear, I meant v8, do you have a timeline in mind? I have some spare time and would love to be of help.
I am working on it on my spare time already. But I don't want to risk myself on saying timelines. I will for sure notify everybody using this lib when this happens as best as I can (twitter, here, readme, docs, etc).
from charts.
sounds like you might have some people that are willing to help. Could you create a private git ,and invite people that are interested in helping?
from charts.
Are they any docs on downgrading from 7 to 6 ? Does not seem as simple as just requiring the old package.
from charts.
Are they any docs on downgrading from 7 to 6 ? Does not seem as simple as just requiring the old package.
If I do recall correctly, v7 was a huge change of direction from v6, v6 didn't use Chartisan at all (pls no lawyers) and instead worked with ChartJS, FusionCharts, ECharts etc etc. What I'm trying to say is it wasn't just a version bump with some new features but almost a complete rewrite which will require you to re-work everything you did.
If anyone is interested, there isn't really a solid alternative to quickly generating charts in Laravel, I was thinking of creating something similar to V6 using exclusively ApexCharts
from charts.
I was using version 7 and now I want to downgrade to 6 before you release version 8.
I am getting the following error:
Symfony\Component\Routing\Exception\RouteNotFoundException(code: 0): Route [charts.***] not defined
In Version 7 I was registering the charts in the AppServiceProvider Class using the ConsoleTVs\Charts\Registrar
what do I need to do now?
from charts.
Related Issues (15)
- error Uncaught TypeError
- [QUESTION] How generate image chart HOT 1
- Could you please upload sources of release 5.*? HOT 5
- Can't show more than 1 chat in one blade [BUG] HOT 1
- refresh chart labels when using API/Ajax [QUESTION] HOT 5
- Class "ConsoleTVs\Charts\Classes\ChartJS\Chart" not found
- [QUESTION] Tooltip valueFormatter
- Dataset color
- [BUG]Failed to download consoletvs/charts from dist: HOT 1
- [BUG] Help, can't install consoletvs/charts (6.5.3) -> 404 Error HOT 2
- [BUG] Composer install fails for v6.5.5 HOT 2
- Target class [ConsoleTVs\Charts\Registrar] does not exist. HOT 1
- [QUESTION] Chartjs legend position HOT 3
- Target class [ConsoleTVs\Charts\Registrar] does not exist. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.