Bug 2073629 - Review Request: golang-entgo-ent - An entity framework for Go
Summary: Review Request: golang-entgo-ent - An entity framework for Go
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Davide Cavalca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2045503
TreeView+ depends on / blocked
 
Reported: 2022-04-09 01:51 UTC by Michel Lind
Modified: 2022-05-21 01:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-05-21 01:30:32 UTC
Type: ---
Embargoed:
davide: fedora-review+


Attachments (Terms of Use)

Description Michel Lind 2022-04-09 01:51:43 UTC
Spec URL: https://salimma.fedorapeople.org/specs/meta/golang-entgo-ent.spec
SRPM URL: TBD - waiting for COPR
Description: An entity framework for Go.
Fedora Account System Username: salimma

This is a rename review for golang-github-facebook-ent

Note: waiting for https://src.fedoraproject.org/rpms/golang-ariga-atlas/pull-request/1

Comment 1 Davide Cavalca 2022-05-10 22:00:25 UTC
Taking this review

Comment 2 Davide Cavalca 2022-05-10 22:00:52 UTC
This is missing the src.rpm

Comment 4 Davide Cavalca 2022-05-11 21:22:53 UTC
%if %{with check}
# Tests
BuildRequires:  golang(github.com/DATA-DOG/go-sqlmock)
# BuildRequires:  golang(github.com/google/uuid)
# BuildRequires:  golang(github.com/gorilla/websocket)
BuildRequires:  golang(github.com/jessevdk/go-flags)
BuildRequires:  golang(github.com/json-iterator/go)
# BuildRequires:  golang(github.com/modern-go/reflect2)
BuildRequires:  golang(github.com/stretchr/testify/assert)
BuildRequires:  golang(github.com/stretchr/testify/mock)
BuildRequires:  golang(github.com/stretchr/testify/require)
BuildRequires:  golang(golang.org/x/tools/go/packages/packagestest)
# BuildRequires:  golang(go.opencensus.io/stats/view)
# BuildRequires:  golang(go.opencensus.io/trace)
%endif

Why the commented BRs?

# goimport fails to pick up these

Should we file a bug on the golang macros for this?

%generate_buildrequires
# %%go_generate_buildrequires

I think you have some debugging leftover here

%doc doc examples README.md README_jp.md CODE_OF_CONDUCT.md CONTRIBUTING.md
%doc README_zh.md entc/integration/README.md doc

entc/integration/README.md will overwrite the top-level readme; either drop it from %doc (and from godocs), or rename it to something else first

Comment 5 Michel Lind 2022-05-11 21:35:29 UTC
the go_generate_buildrequires didn't work - so yeah, I'll just remove them, seems like most golang packages don't use it yet, it's not in as good a shape as the Python and Rust generators.

as for the other comments - I can't quite remember, it's been too long. I'll just remove them for now. Will also rename the integration doc. Thanks!

Comment 7 Davide Cavalca 2022-05-11 22:42:41 UTC
# remove failing tests
rm entc/internal/snapshot_test.go
rm entc/load/load_test.go

These are probably worth adding a comment and/or filing an upstream issue for.

Besides that, package was generated with go2rpm simplifying the review.

- Conforms to packaging guidelines
- license correct and valid
- builds and installs

PACKAGE APPROVED.

Comment 8 Michel Lind 2022-05-11 23:08:24 UTC
ah yes, agreed. Will do before importing the package, thanks.

❯ fedpkg request-repo golang-entgo-ent 2073629
https://pagure.io/releng/fedora-scm-requests/issue/44391

❯ fedpkg request-branch --repo golang-entgo-ent --all-releases
https://pagure.io/releng/fedora-scm-requests/issue/44392
https://pagure.io/releng/fedora-scm-requests/issue/44393
https://pagure.io/releng/fedora-scm-requests/issue/44394

Comment 9 Gwyn Ciesla 2022-05-12 13:05:21 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-entgo-ent

Comment 10 Fedora Update System 2022-05-12 22:17:36 UTC
FEDORA-2022-0bf1adbda6 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0bf1adbda6

Comment 11 Fedora Update System 2022-05-13 02:11:04 UTC
FEDORA-2022-0bf1adbda6 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-0bf1adbda6 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0bf1adbda6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2022-05-13 02:48:47 UTC
FEDORA-2022-f2936c69e9 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-f2936c69e9 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f2936c69e9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-05-21 01:30:32 UTC
FEDORA-2022-0bf1adbda6 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2022-05-21 01:31:55 UTC
FEDORA-2022-f2936c69e9 has been pushed to the Fedora 36 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.