Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1976549 Details for
Bug 2218606
Review Request: migrate - Go database migrations library and program
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The .spec file difference from Copr build 6182694 to 6186417
spec-from-6182694-to-6186417.diff (text/plain), 6.95 KB, created by
Fedora Review Service
on 2023-07-19 15:38:45 UTC
(
hide
)
Description:
The .spec file difference from Copr build 6182694 to 6186417
Filename:
MIME Type:
Creator:
Fedora Review Service
Created:
2023-07-19 15:38:45 UTC
Size:
6.95 KB
patch
obsolete
>--- https://copr.fedorainfracloud.org/coprs/build/6182694 >+++ https://copr.fedorainfracloud.org/coprs/build/6186417 >@@ -15,11 +15,21 @@ > # on the test host. > %bcond_with check > >-# Passed to %%gobuild via the environment variable BUILDTAGS. >-# Build the migrate program with a subset of databases and sources enabled. Add >-# the database or source here when adding additional dependencies to this >-# package. >-%global _gobuildtags file iofs sqlite3 postgres >+# This list of drivers are removed before the package is built. This ensures >+# that both the migrate binary and the -devel subpackage are both built with the >+# desired set of drivers. These drivers are missing depdendencies; packaging >+# their dependencies is required before removing a driver from this list. >+%global _remove_drivers database/firebird \\\ >+ database/neo4j \\\ >+ database/pgx \\\ >+ database/ql \\\ >+ database/spanner \\\ >+ database/sqlcipher \\\ >+ database/sqlite \\\ >+ database/sqlserver \\\ >+ database/yugabytedb \\\ >+ source/bitbucket \\\ >+ source/github > > # https://github.com/golang-migrate/migrate > %global goipath github.com/golang-migrate/migrate/v4 >@@ -33,18 +43,45 @@ > Go database migrations library and program. > > This package is built with the following databases backends: >+* cassandra >+* clickhouse >+* cockroachdb >+* mongodb >+* mysql >+* postgres >+* redshift >+* snowflake > * sqlite3 >-* postgresql > > This package is built with the following source backends: >-* filesystem >-* iofs} >+* file >+* gitlab >+* go-bindata >+* godoc-vfs >+* gcs >+* iofs >+* pkger >+* s3} > > %global golicenses LICENSE > %global godocs CONTRIBUTING.md FAQ.md GETTING_STARTED.md \\\ > MIGRATIONS.md README.md SECURITY.md migrate-README.md \\\ >+ cassandra-README.md \\\ >+ clickhouse-README.md \\\ >+ cockroachdb-README.md \\\ >+ mongodb-README.md \\\ >+ mysql-README.md \\\ >+ redshift-README.md \\\ >+ postgres-README.md \\\ >+ snowflake-README.md \\\ > sqlite3-README.md \\\ >- iofs-README.md >+ file-README.md \\\ >+ gitlab-README.md \\\ >+ go-bindata-README.md \\\ >+ gcs-README.md \\\ >+ iofs-README.md \\\ >+ pkger-README.md \\\ >+ s3-README.md > > Name: %{goname} > Release: %autorelease >@@ -54,19 +91,32 @@ > URL: %{gourl} > Source: %{gosource} > >-# Do not use %%go_generate_buildrequires; the list of built-in sources and >-# databases is maintained manually (see _gobuildtags above). >- >-# General dependencies >+# Do not use %%go_generate_buildrequires; the list of drivers is maintained >+# manually. See %%_remove_drivers above for details. >+BuildRequires: golang(cloud.google.com/go/storage) >+BuildRequires: golang(github.com/aws/aws-sdk-go/aws) >+BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session) >+BuildRequires: golang(github.com/aws/aws-sdk-go/service/s3) >+BuildRequires: golang(github.com/aws/aws-sdk-go/service/s3/s3iface) >+BuildRequires: golang(github.com/cenkalti/backoff/v4) >+BuildRequires: golang(github.com/cockroachdb/cockroach-go/v2/crdb) >+BuildRequires: golang(github.com/go-sql-driver/mysql) >+BuildRequires: golang(github.com/gocql/gocql) > BuildRequires: golang(github.com/hashicorp/go-multierror) >+BuildRequires: golang(github.com/lib/pq) >+BuildRequires: golang(github.com/markbates/pkger) >+BuildRequires: golang(github.com/markbates/pkger/pkging) >+BuildRequires: golang(github.com/mattn/go-sqlite3) >+BuildRequires: golang(github.com/snowflakedb/gosnowflake) >+BuildRequires: golang(github.com/xanzy/go-gitlab) >+BuildRequires: golang(go.mongodb.org/mongo-driver/bson) >+BuildRequires: golang(go.mongodb.org/mongo-driver/mongo) >+BuildRequires: golang(go.mongodb.org/mongo-driver/mongo/options) >+BuildRequires: golang(go.mongodb.org/mongo-driver/x/mongo/driver/connstring) > BuildRequires: golang(go.uber.org/atomic) >-BuildRequires: golang(github.com/stretchr/testify/assert) >- >-# Database dependencies >-BuildRequires: golang(github.com/lib/pq) >-BuildRequires: golang(github.com/mattn/go-sqlite3) >- >-# Source dependencies >+BuildRequires: golang(golang.org/x/tools/godoc/vfs) >+BuildRequires: golang(golang.org/x/tools/godoc/vfs/httpfs) >+BuildRequires: golang(google.golang.org/api/iterator) > > %description %{common_description} > >@@ -75,19 +125,34 @@ > %prep > %goprep > %autopatch -p1 >+rm -rf %_remove_drivers > > %build > for cmd in cmd/* ; do >- BUILDTAGS="%{_gobuildtags}" %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd >+ %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd > done > > %install > %gopkginstall > install -m 0755 -vd %{buildroot}%{_bindir} > install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ >-mv cmd/migrate/README.md migrate-README.md >-mv database/sqlite3/README.md sqlite3-README.md >-mv source/iofs/README.md iofs-README.md >+mv cmd/migrate/README.md migrate-README.md >+mv database/cassandra/README.md cassandra-README.md >+mv database/clickhouse/README.md clickhouse-README.md >+mv database/cockroachdb/README.md cockroachdb-README.md >+mv database/mongodb/README.md mongodb-README.md >+mv database/mysql/README.md mysql-README.md >+mv database/postgres/README.md postgres-README.md >+mv database/redshift/README.md redshift-README.md >+mv database/snowflake/README.md snowflake-README.md >+mv database/sqlite3/README.md sqlite3-README.md >+mv source/aws_s3/README.md s3-README.md >+mv source/file/README.md file-README.md >+mv source/gitlab/README.md gitlab-README.md >+mv source/go_bindata/README.md go-bindata-README.md >+mv source/google_cloud_storage/README.md gcs-README.md >+mv source/iofs/README.md iofs-README.md >+mv source/pkger/README.md pkger-README.md > > %if %{with check} > %check >@@ -98,13 +163,27 @@ > %license LICENSE > %doc CONTRIBUTING.md FAQ.md GETTING_STARTED.md MIGRATIONS.md README.md > %doc SECURITY.md migrate-README.md >+%doc cassandra-README.md >+%doc clickhouse-README.md >+%doc cockroachdb-README.md >+%doc mongodb-README.md >+%doc mysql-README.md >+%doc postgres-README.md >+%doc redshift-README.md >+%doc snowflake-README.md > %doc sqlite3-README.md >+%doc file-README.md >+%doc gitlab-README.md >+%doc go-bindata-README.md >+%doc gcs-README.md > %doc iofs-README.md >+%doc pkger-README.md >+%doc s3-README.md > %{_bindir}/* > > %gopkgfiles > > %changelog >-* Tue Jul 18 2023 Link Dupont <link@sub-pop.net> - 4.16.2-1 >+* Wed Jul 19 2023 Link Dupont <link@sub-pop.net> - 4.16.2-1 > - Uncommitted changes >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2218606
:
1976225
| 1976549 |
1976943