Bug 2275318 - Review Request: golang-github-gosimple-unidecode - Unicode transliterator in Golang
Summary: Review Request: golang-github-gosimple-unidecode - Unicode transliterator in ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Renich Bon Ciric
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2275317 2275319
TreeView+ depends on / blocked
 
Reported: 2024-04-16 16:13 UTC by Mikel Olasagasti Uranga
Modified: 2024-12-17 08:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-17 08:40:48 UTC
Type: ---
Embargoed:
renich: fedora-review+


Attachments (Terms of Use)

Description Mikel Olasagasti Uranga 2024-04-16 16:13:07 UTC
Spec URL: https://mikel.olasagasti.info/tmp/fedora/golang-github-gosimple-unidecode.spec
SRPM URL: https://mikel.olasagasti.info/tmp/fedora/golang-github-gosimple-unidecode-1.0.1-1.fc40.src.rpm
Description: ASCII approximations.
Fedora Account System Username: mikelo2

Comment 1 Renich Bon Ciric 2024-05-04 01:41:23 UTC
Here're a few coments:

This package blocks 2275317 as well since it is a dependency of it. 

It seems that table.txt is not documentation but a file needed to rebuild table.go. It should not be marked as documentation IMHO, what do you think?

> ## Add new characters
>
> 1. Edit `table.txt` file.
> 2. Rebuild `table.go` file:
> 
>    ```go
>    go run ./make_table.go
>    ```

The license of the package seems to be the Apache License. IIUC, the appache indicates that a header be applied to every file as a comment:

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "{}"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright {yyyy} {name of copyright owner}

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

... but none of the files do so. I don't know if this is OK but one should try and contact upstream and let them know about this, if you ask me. What do you think?

A hidden file has been included: /usr/share/gocode/src/github.com/gosimple/unidecode/.goipath

Comment 2 Mikel Olasagasti Uranga 2024-11-10 20:13:31 UTC
Spec URL: https://mikel.olasagasti.info/tmp/fedora/golang-github-gosimple-unidecode.spec
SRPM URL: https://mikel.olasagasti.info/tmp/fedora/golang-github-gosimple-unidecode-1.0.1-1.fc41.src.rpm

> This package blocks 2275317 as well since it is a dependency of it. 

done.

> It seems that table.txt is not documentation but a file needed to rebuild table.go. It should not be marked as documentation IMHO, what do you think?

The idea of this package is a library to be used by other libraries or binaries, so if new chars should be added it would be needed to be done upstream. Nobody should use these libraries shipped by Fedora to develop, so it's just a upstream thing.

> I don't know if this is OK but one should try and contact upstream and let them know about this, if you ask me. What do you think?

I'm afraid it's quite common in many Go projects to define the License at "root level" and not add copyright headers to code files. I'll try to contact upstream about it.

> A hidden file has been included: /usr/share/gocode/src/github.com/gosimple/unidecode/.goipath

Happens with all Go packages.

Comment 3 Fedora Review Service 2024-11-10 20:18:15 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8239785
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2275318-golang-github-gosimple-unidecode/fedora-rawhide-x86_64/08239785-golang-github-gosimple-unidecode/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 4 Renich Bon Ciric 2024-12-17 04:14:24 UTC
It seems good to me. Well done. :)

Comment 5 Fedora Admin user for bugzilla script actions 2024-12-17 08:27:34 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-gosimple-unidecode

Comment 6 Fedora Update System 2024-12-17 08:37:00 UTC
FEDORA-2024-1cfd7e2686 (golang-github-gosimple-unidecode-1.0.1-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1cfd7e2686

Comment 7 Fedora Update System 2024-12-17 08:40:48 UTC
FEDORA-2024-1cfd7e2686 (golang-github-gosimple-unidecode-1.0.1-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.