[GH-ISSUE #562] codeitnow barcode generator not available #406

Closed
opened 2026-02-25 21:34:57 +03:00 by kerem · 11 comments
Owner

Originally created by @sierracircle on GitHub (Apr 22, 2022).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/562

Originally assigned to: @jasonmunro on GitHub.

Hi. Running composer install gives me:
Failed to download codeitnowin/barcode from dist: The "https://api.github.com/repos/codeitnowin/barcode-generator/zipball/bd140d279fc813e00f72eaa4f033186bf78b8786" file could not be downloaded (HTTP/1.1 451 Unavailable for Legal Reasons)

Looking at the github page for them, there is a DMCA takedown notice.

Removing the codeitnow from line 27 of the composer.json seems to work for now.
Not sure what the barcode-generator thing is for. I have no need of it.

Originally created by @sierracircle on GitHub (Apr 22, 2022). Original GitHub issue: https://github.com/cypht-org/cypht/issues/562 Originally assigned to: @jasonmunro on GitHub. Hi. Running composer install gives me: `Failed to download codeitnowin/barcode from dist: The "https://api.github.com/repos/codeitnowin/barcode-generator/zipball/bd140d279fc813e00f72eaa4f033186bf78b8786" file could not be downloaded (HTTP/1.1 451 Unavailable for Legal Reasons)` Looking at the github page for them, there is a DMCA takedown notice. Removing the codeitnow from line 27 of the composer.json seems to work for now. Not sure what the barcode-generator thing is for. I have no need of it.
kerem 2026-02-25 21:34:57 +03:00
  • closed this issue
  • added the
    2fa
    label
Author
Owner

@marclaporte commented on GitHub (Apr 22, 2022):

For the record: https://github.com/github/dmca/blob/master/2022/04/2022-04-20-barcodebakery.md

<!-- gh-comment-id:1106989675 --> @marclaporte commented on GitHub (Apr 22, 2022): For the record: https://github.com/github/dmca/blob/master/2022/04/2022-04-20-barcodebakery.md
Author
Owner

@marclaporte commented on GitHub (Apr 22, 2022):

Here is why/when it was introduced: github.com/jasonmunro/cypht@6eba048551

<!-- gh-comment-id:1107003549 --> @marclaporte commented on GitHub (Apr 22, 2022): Here is why/when it was introduced: https://github.com/jasonmunro/cypht/commit/6eba0485514114b1573792dbd9bceecf184498d4
Author
Owner

@ElvisAns commented on GitHub (Apr 23, 2022):

So.. the api is ready to be called in case we just want to generate a barcode with cypht? 2D barcode preferably

<!-- gh-comment-id:1107410218 --> @ElvisAns commented on GitHub (Apr 23, 2022): So.. the api is ready to be called in case we just want to generate a barcode with cypht? 2D barcode preferably
Author
Owner

@marclaporte commented on GitHub (Apr 23, 2022):

@ElvisAns Can you make a merge request to resolve this? Go back to previous lib or propose a another one.

Thanks!

<!-- gh-comment-id:1107640794 --> @marclaporte commented on GitHub (Apr 23, 2022): @ElvisAns Can you make a merge request to resolve this? Go back to previous lib or propose a another one. Thanks!
Author
Owner

@ElvisAns commented on GitHub (Apr 23, 2022):

Well i walk through it and do something ASAP

<!-- gh-comment-id:1107642748 --> @ElvisAns commented on GitHub (Apr 23, 2022): Well i walk through it and do something ASAP
Author
Owner

@jasonmunro commented on GitHub (Apr 27, 2022):

We should probably just revert to the original QR code generating library.

<!-- gh-comment-id:1111246463 --> @jasonmunro commented on GitHub (Apr 27, 2022): We should probably just revert to the original QR code generating library.
Author
Owner

@ElvisAns commented on GitHub (May 2, 2022):

I have also got the error
Failed to download codeitnowin/barcode from dist: The "https://api.github.com/repos/codeitnowin/barcode-generator/zipball/bd140d279fc813e00f72eaa4f033186bf78b8786" file could not be downloaded (HTTP/2 451 ): {"message":"Repository access blocked","block":{"reason":"dmca","created_at":"2022-04-20T23:29:58Z","html_url":"https://github.com/github/dmca/blob/master/2022/04/2022-04-20-barcodebakery.md"}} Now trying to download from source

after running
composer install
As @jasonmunro said it seems like we need to replace this dependency!

<!-- gh-comment-id:1114992580 --> @ElvisAns commented on GitHub (May 2, 2022): I have also got the error ` Failed to download codeitnowin/barcode from dist: The "https://api.github.com/repos/codeitnowin/barcode-generator/zipball/bd140d279fc813e00f72eaa4f033186bf78b8786" file could not be downloaded (HTTP/2 451 ): {"message":"Repository access blocked","block":{"reason":"dmca","created_at":"2022-04-20T23:29:58Z","html_url":"https://github.com/github/dmca/blob/master/2022/04/2022-04-20-barcodebakery.md"}} Now trying to download from source` after running ` composer install ` As @jasonmunro said it seems like we need to replace this dependency!
Author
Owner

@ElvisAns commented on GitHub (May 2, 2022):

And packagist has the answer "This package is abandoned and no longer maintained. The author suggests using the barcode-bakery/barcode-1d package instead."
https://packagist.org/packages/codeitnowin/barcode

<!-- gh-comment-id:1114994273 --> @ElvisAns commented on GitHub (May 2, 2022): And packagist has the answer **_"This package is abandoned and no longer maintained. The author suggests using the [barcode-bakery/barcode-1d](https://packagist.org/packages/barcode-bakery/barcode-1d) package instead."_** https://packagist.org/packages/codeitnowin/barcode
Author
Owner

@ElvisAns commented on GitHub (May 2, 2022):

I have made something at this pull request,

Test results are welcome!

<!-- gh-comment-id:1115128871 --> @ElvisAns commented on GitHub (May 2, 2022): I have made something at [this pull request](https://github.com/jasonmunro/cypht/pull/566), Test results are welcome!
Author
Owner

@ElvisAns commented on GitHub (May 2, 2022):

I have switched to this package : https://packagist.org/packages/endroid/qr-code, it has 15 293 400 installs and 3 655 stars

<!-- gh-comment-id:1115143908 --> @ElvisAns commented on GitHub (May 2, 2022): I have switched to this package : https://packagist.org/packages/endroid/qr-code, it has `15 293 400` installs and `3 655` stars ⭐
Author
Owner

@jasonmunro commented on GitHub (May 2, 2022):

@ElvisAns this looks great thanks for doing this. I was just looking into doing the exact same thing :) I will merge this today

<!-- gh-comment-id:1115155091 --> @jasonmunro commented on GitHub (May 2, 2022): @ElvisAns this looks great thanks for doing this. I was just looking into doing the exact same thing :) I will merge this today
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#406
No description provided.