Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version.json to v0.4.0 #279

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Update version.json to v0.4.0 #279

merged 1 commit into from
Sep 8, 2023

Conversation

xinaxu
Copy link
Contributor

@xinaxu xinaxu commented Sep 8, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Suggested version: v0.4.0

Comparing to: v0.3.2 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 25575bc..077a6a1 100644
--- a/go.mod
+++ b/go.mod
@@ -3,10 +3,12 @@ module github.com/data-preservation-programs/singularity
 go 1.20
 
 require (
-	filippo.io/age v1.1.1
 	github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137
 	github.com/avast/retry-go v3.0.0+incompatible
 	github.com/bcicen/jstream v1.0.1
+	github.com/brianvoe/gofakeit/v6 v6.23.2
+	github.com/cockroachdb/errors v1.10.1-0.20230823160506-3a3abaca5af3
+	github.com/data-preservation-programs/table v0.0.3
 	github.com/dustin/go-humanize v1.0.1
 	github.com/fatih/color v1.15.0
 	github.com/filecoin-project/go-address v1.1.0
@@ -23,7 +25,6 @@ require (
 	github.com/go-openapi/strfmt v0.21.7
 	github.com/go-openapi/swag v0.22.4
 	github.com/go-openapi/validate v0.22.1
-	github.com/go-sql-driver/mysql v1.7.0
 	github.com/google/uuid v1.3.0
 	github.com/gotidy/ptr v1.4.0
 	github.com/ipfs/boxo v0.11.0
@@ -32,7 +33,6 @@ require (
 	github.com/ipfs/go-cid v0.4.1
 	github.com/ipfs/go-datastore v0.6.0
 	github.com/ipfs/go-ipfs-blockstore v1.3.0
-	github.com/ipfs/go-ipfs-chunker v0.0.5
 	github.com/ipfs/go-ipfs-routing v0.3.0
 	github.com/ipfs/go-ipld-cbor v0.0.6
 	github.com/ipfs/go-ipld-format v0.5.0
@@ -50,15 +50,15 @@ require (
 	github.com/labstack/echo/v4 v4.10.2
 	github.com/libp2p/go-libp2p v0.30.0
 	github.com/mattn/go-shellwords v1.0.12
+	github.com/minio/sha256-simd v1.0.1
 	github.com/mitchellh/mapstructure v1.5.0
 	github.com/multiformats/go-multiaddr v0.11.0
+	github.com/multiformats/go-multihash v0.2.3
 	github.com/multiformats/go-varint v0.0.7
 	github.com/parnurzeal/gorequest v0.2.16
-	github.com/pkg/errors v0.9.1
 	github.com/rclone/rclone v1.62.2
 	github.com/rjNemo/underscore v0.5.0
 	github.com/robfig/cron/v3 v3.0.1
-	github.com/rodaine/table v1.1.0
 	github.com/sashabaranov/go-openai v1.14.1
 	github.com/stretchr/testify v1.8.4
 	github.com/swaggo/echo-swagger v1.4.0
@@ -68,6 +68,7 @@ require (
 	go.mongodb.org/mongo-driver v1.11.4
 	go.uber.org/zap v1.25.0
 	golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
+	golang.org/x/text v0.12.0
 	gorm.io/driver/mysql v1.5.0
 	gorm.io/driver/postgres v1.5.0
 	gorm.io/driver/sqlite v1.5.2
@@ -93,6 +94,8 @@ require (
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/calebcase/tmpfile v1.0.3 // indirect
 	github.com/cespare/xxhash/v2 v2.2.0 // indirect
+	github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
+	github.com/cockroachdb/redact v1.1.5 // indirect
 	github.com/colinmarc/hdfs/v2 v2.3.0 // indirect
 	github.com/containerd/cgroups v1.1.0 // indirect
 	github.com/coreos/go-semver v0.3.1 // indirect
@@ -123,6 +126,7 @@ require (
 	github.com/flynn/noise v1.0.0 // indirect
 	github.com/francoispqt/gojay v1.2.13 // indirect
 	github.com/geoffgarside/ber v1.1.0 // indirect
+	github.com/getsentry/sentry-go v0.18.0 // indirect
 	github.com/glebarez/go-sqlite v1.21.1 // indirect
 	github.com/go-chi/chi/v5 v5.0.8 // indirect
 	github.com/go-logr/logr v1.2.4 // indirect
@@ -133,6 +137,7 @@ require (
 	github.com/go-openapi/jsonreference v0.20.2 // indirect
 	github.com/go-openapi/loads v0.21.2 // indirect
 	github.com/go-openapi/spec v0.20.9 // indirect
+	github.com/go-sql-driver/mysql v1.7.0 // indirect
 	github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
 	github.com/godbus/dbus/v5 v5.1.0 // indirect
 	github.com/gofrs/flock v0.8.1 // indirect
@@ -145,7 +150,7 @@ require (
 	github.com/golang/snappy v0.0.4 // indirect
 	github.com/google/go-querystring v1.1.0 // indirect
 	github.com/google/gopacket v1.1.19 // indirect
-	github.com/google/pprof v0.0.0-20230821062121-407c9e7a662f // indirect
+	github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b // indirect
 	github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
 	github.com/googleapis/gax-go/v2 v2.7.0 // indirect
 	github.com/gorilla/websocket v1.5.0 // indirect
@@ -197,6 +202,8 @@ require (
 	github.com/koofr/go-koofrclient v0.0.0-20221207135200-cbd7fc9ad6a6 // indirect
 	github.com/koron/go-ssdp v0.0.4 // indirect
 	github.com/kr/fs v0.1.0 // indirect
+	github.com/kr/pretty v0.3.1 // indirect
+	github.com/kr/text v0.2.0 // indirect
 	github.com/kylelemons/godebug v1.1.0 // indirect
 	github.com/labstack/gommon v0.4.0 // indirect
 	github.com/libp2p/go-buffer-pool v0.1.0 // indirect
@@ -220,7 +227,6 @@ require (
 	github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b // indirect
 	github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect
 	github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect
-	github.com/minio/sha256-simd v1.0.1 // indirect
 	github.com/mitchellh/go-homedir v1.1.0 // indirect
 	github.com/montanaflynn/stats v0.7.0 // indirect
 	github.com/mr-tron/base58 v1.2.0 // indirect
@@ -230,7 +236,6 @@ require (
 	github.com/multiformats/go-multiaddr-fmt v0.1.0 // indirect
 	github.com/multiformats/go-multibase v0.2.0 // indirect
 	github.com/multiformats/go-multicodec v0.9.0 // indirect
-	github.com/multiformats/go-multihash v0.2.3 // indirect
 	github.com/multiformats/go-multistream v0.4.1 // indirect
 	github.com/ncw/go-acd v0.0.0-20201019170801-fe55f33415b1 // indirect
 	github.com/ncw/swift/v2 v2.0.1 // indirect
@@ -243,23 +248,25 @@ require (
 	github.com/pengsrc/go-shared v0.2.1-0.20190131101655-1999055a4a14 // indirect
 	github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 // indirect
 	github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
+	github.com/pkg/errors v0.9.1 // indirect
 	github.com/pkg/sftp v1.13.6-0.20230213180117-971c283182b6 // indirect
 	github.com/pkg/xattr v0.4.9 // indirect
 	github.com/pmezard/go-difflib v1.0.0 // indirect
 	github.com/polydawn/refmt v0.89.0 // indirect
 	github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
-	github.com/prometheus/client_golang v1.16.0 // indirect
+	github.com/prometheus/client_golang v1.14.0 // indirect
 	github.com/prometheus/client_model v0.4.0 // indirect
-	github.com/prometheus/common v0.44.0 // indirect
-	github.com/prometheus/procfs v0.11.1 // indirect
+	github.com/prometheus/common v0.42.0 // indirect
+	github.com/prometheus/procfs v0.9.0 // indirect
 	github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8 // indirect
 	github.com/quic-go/qpack v0.4.0 // indirect
 	github.com/quic-go/qtls-go1-20 v0.3.2 // indirect
-	github.com/quic-go/quic-go v0.38.0 // indirect
+	github.com/quic-go/quic-go v0.37.6 // indirect
 	github.com/quic-go/webtransport-go v0.5.3 // indirect
 	github.com/raulk/go-watchdog v1.3.0 // indirect
 	github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
 	github.com/rfjakob/eme v1.1.2 // indirect
+	github.com/rogpeppe/go-internal v1.9.0 // indirect
 	github.com/russross/blackfriday/v2 v2.1.0 // indirect
 	github.com/shirou/gopsutil/v3 v3.23.3 // indirect
 	github.com/shoenig/go-m1cpu v0.1.4 // indirect
@@ -279,7 +286,6 @@ require (
 	github.com/vivint/infectious v0.0.0-20200605153912-25a574ae18a3 // indirect
 	github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 // indirect
 	github.com/whyrusleeping/cbor-gen v0.0.0-20230418232409-daab9ece03a0 // indirect
-	github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect
 	github.com/x448/float16 v0.8.4 // indirect
 	github.com/xanzy/ssh-agent v0.3.3 // indirect
 	github.com/xdg-go/pbkdf2 v1.0.0 // indirect
@@ -301,11 +307,10 @@ require (
 	golang.org/x/crypto v0.12.0 // indirect
 	golang.org/x/mod v0.12.0 // indirect
 	golang.org/x/net v0.14.0 // indirect
-	golang.org/x/oauth2 v0.8.0 // indirect
+	golang.org/x/oauth2 v0.6.0 // indirect
 	golang.org/x/sync v0.3.0 // indirect
 	golang.org/x/sys v0.11.0 // indirect
 	golang.org/x/term v0.11.0 // indirect
-	golang.org/x/text v0.12.0 // indirect
 	golang.org/x/time v0.3.0 // indirect
 	golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 // indirect
 	golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
@@ -313,7 +318,7 @@ require (
 	google.golang.org/appengine v1.6.7 // indirect
 	google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488 // indirect
 	google.golang.org/grpc v1.53.0 // indirect
-	google.golang.org/protobuf v1.31.0 // indirect
+	google.golang.org/protobuf v1.30.0 // indirect
 	gopkg.in/yaml.v2 v2.4.0 // indirect
 	gopkg.in/yaml.v3 v3.0.1 // indirect
 	lukechampine.com/blake3 v1.2.1 // indirect

gorelease says:

! second, different message for obj type github.com/data-preservation-programs/singularity/client/swagger/models.ModelCID interface{}, part ""
  first:  removed
  second: changed from interface{} to string
# github.com/data-preservation-programs/singularity/api
## incompatible changes
APIParams.Ctx: removed
InitServer: changed from func(APIParams) (Server, error) to func(context.Context, APIParams) (Server, error)
Server.Run: removed
## compatible changes
Server.Name: added
Server.Start: added

# github.com/data-preservation-programs/singularity/client
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/http
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/lib
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/swagger
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/swagger/http
## incompatible changes
SingularityAPI.Admin: removed
SingularityAPI.DataSource: removed
SingularityAPI.Dataset: removed
SingularityAPI.Metadata: removed
## compatible changes
SingularityAPI.File: added
SingularityAPI.Job: added
SingularityAPI.Piece: added
SingularityAPI.Preparation: added
SingularityAPI.Storage: added

# github.com/data-preservation-programs/singularity/client/swagger/http/admin
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/swagger/http/data_source
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/swagger/http/dataset
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/swagger/http/deal_schedule
## incompatible changes
ClientService.GetPreparationIDSchedules: added
## compatible changes
(*Client).GetPreparationIDSchedules: added
GetPreparationIDSchedulesBadRequest: added
GetPreparationIDSchedulesInternalServerError: added
GetPreparationIDSchedulesOK: added
GetPreparationIDSchedulesParams: added
GetPreparationIDSchedulesReader: added
NewGetPreparationIDSchedulesBadRequest: added
NewGetPreparationIDSchedulesInternalServerError: added
NewGetPreparationIDSchedulesOK: added
NewGetPreparationIDSchedulesParams: added
NewGetPreparationIDSchedulesParamsWithContext: added
NewGetPreparationIDSchedulesParamsWithHTTPClient: added
NewGetPreparationIDSchedulesParamsWithTimeout: added

# github.com/data-preservation-programs/singularity/client/swagger/http/file
## compatible changes
package added

# github.com/data-preservation-programs/singularity/client/swagger/http/job
## compatible changes
package added

# github.com/data-preservation-programs/singularity/client/swagger/http/metadata
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/client/swagger/http/piece
## compatible changes
package added

# github.com/data-preservation-programs/singularity/client/swagger/http/preparation
## compatible changes
package added

# github.com/data-preservation-programs/singularity/client/swagger/http/storage
## compatible changes
package added

# github.com/data-preservation-programs/singularity/client/swagger/http/wallet
## incompatible changes
(*Client).DeleteDatasetDatasetNameWalletWallet: removed
(*Client).GetDatasetDatasetNameWallet: removed
(*Client).PostWalletRemote: removed
ClientService.DeleteDatasetDatasetNameWalletWallet: removed
ClientService.GetDatasetDatasetNameWallet: removed
ClientService.PostWalletRemote: removed
DeleteDatasetDatasetNameWalletWalletBadRequest: removed
DeleteDatasetDatasetNameWalletWalletInternalServerError: removed
DeleteDatasetDatasetNameWalletWalletNoContent: removed
DeleteDatasetDatasetNameWalletWalletParams: removed
DeleteDatasetDatasetNameWalletWalletReader: removed
GetDatasetDatasetNameWalletBadRequest: removed
GetDatasetDatasetNameWalletInternalServerError: removed
GetDatasetDatasetNameWalletOK: removed
GetDatasetDatasetNameWalletParams: removed
GetDatasetDatasetNameWalletReader: removed
NewDeleteDatasetDatasetNameWalletWalletBadRequest: removed
NewDeleteDatasetDatasetNameWalletWalletInternalServerError: removed
NewDeleteDatasetDatasetNameWalletWalletNoContent: removed
NewDeleteDatasetDatasetNameWalletWalletParams: removed
NewDeleteDatasetDatasetNameWalletWalletParamsWithContext: removed
NewDeleteDatasetDatasetNameWalletWalletParamsWithHTTPClient: removed
NewDeleteDatasetDatasetNameWalletWalletParamsWithTimeout: removed
NewGetDatasetDatasetNameWalletBadRequest: removed
NewGetDatasetDatasetNameWalletInternalServerError: removed
NewGetDatasetDatasetNameWalletOK: removed
NewGetDatasetDatasetNameWalletParams: removed
NewGetDatasetDatasetNameWalletParamsWithContext: removed
NewGetDatasetDatasetNameWalletParamsWithHTTPClient: removed
NewGetDatasetDatasetNameWalletParamsWithTimeout: removed
NewPostWalletRemoteBadRequest: removed
NewPostWalletRemoteInternalServerError: removed
NewPostWalletRemoteOK: removed
NewPostWalletRemoteParams: removed
NewPostWalletRemoteParamsWithContext: removed
NewPostWalletRemoteParamsWithHTTPClient: removed
NewPostWalletRemoteParamsWithTimeout: removed
PostWalletRemoteBadRequest: removed
PostWalletRemoteInternalServerError: removed
PostWalletRemoteOK: removed
PostWalletRemoteParams: removed
PostWalletRemoteReader: removed

# github.com/data-preservation-programs/singularity/client/swagger/http/wallet_association
## incompatible changes
(*Client).PostDatasetDatasetNameWalletWallet: removed
ClientService.DeletePreparationIDWalletWallet: added
ClientService.PostDatasetDatasetNameWalletWallet: removed
ClientService.PostPreparationIDWallet: added
ClientService.PostPreparationIDWalletWallet: added
NewPostDatasetDatasetNameWalletWalletBadRequest: removed
NewPostDatasetDatasetNameWalletWalletInternalServerError: removed
NewPostDatasetDatasetNameWalletWalletOK: removed
NewPostDatasetDatasetNameWalletWalletParams: removed
NewPostDatasetDatasetNameWalletWalletParamsWithContext: removed
NewPostDatasetDatasetNameWalletWalletParamsWithHTTPClient: removed
NewPostDatasetDatasetNameWalletWalletParamsWithTimeout: removed
PostDatasetDatasetNameWalletWalletBadRequest: removed
PostDatasetDatasetNameWalletWalletInternalServerError: removed
PostDatasetDatasetNameWalletWalletOK: removed
PostDatasetDatasetNameWalletWalletParams: removed
PostDatasetDatasetNameWalletWalletReader: removed
## compatible changes
(*Client).DeletePreparationIDWalletWallet: added
(*Client).PostPreparationIDWallet: added
(*Client).PostPreparationIDWalletWallet: added
DeletePreparationIDWalletWalletBadRequest: added
DeletePreparationIDWalletWalletInternalServerError: added
DeletePreparationIDWalletWalletOK: added
DeletePreparationIDWalletWalletParams: added
DeletePreparationIDWalletWalletReader: added
NewDeletePreparationIDWalletWalletBadRequest: added
NewDeletePreparationIDWalletWalletInternalServerError: added
NewDeletePreparationIDWalletWalletOK: added
NewDeletePreparationIDWalletWalletParams: added
NewDeletePreparationIDWalletWalletParamsWithContext: added
NewDeletePreparationIDWalletWalletParamsWithHTTPClient: added
NewDeletePreparationIDWalletWalletParamsWithTimeout: added
NewPostPreparationIDWalletBadRequest: added
NewPostPreparationIDWalletInternalServerError: added
NewPostPreparationIDWalletOK: added
NewPostPreparationIDWalletParams: added
NewPostPreparationIDWalletParamsWithContext: added
NewPostPreparationIDWalletParamsWithHTTPClient: added
NewPostPreparationIDWalletParamsWithTimeout: added
NewPostPreparationIDWalletWalletBadRequest: added
NewPostPreparationIDWalletWalletInternalServerError: added
NewPostPreparationIDWalletWalletOK: added
NewPostPreparationIDWalletWalletParams: added
NewPostPreparationIDWalletWalletParamsWithContext: added
NewPostPreparationIDWalletWalletParamsWithHTTPClient: added
NewPostPreparationIDWalletWalletParamsWithTimeout: added
PostPreparationIDWalletBadRequest: added
PostPreparationIDWalletInternalServerError: added
PostPreparationIDWalletOK: added
PostPreparationIDWalletParams: added
PostPreparationIDWalletReader: added
PostPreparationIDWalletWalletBadRequest: added
PostPreparationIDWalletWalletInternalServerError: added
PostPreparationIDWalletWalletOK: added
PostPreparationIDWalletWalletParams: added
PostPreparationIDWalletWalletReader: added

# github.com/data-preservation-programs/singularity/client/swagger/models
## incompatible changes
DatasetAddPieceRequest: removed
DatasetCreateRequest: removed
DatasetUpdateRequest: removed
DatasourceAcdRequest: removed
DatasourceAllConfig: removed
DatasourceAzureblobRequest: removed
DatasourceB2Request: removed
DatasourceBoxRequest: removed
DatasourceCheckSourceRequest: removed
DatasourceCreatePackJobRequest: removed
DatasourceDriveRequest: removed
DatasourceDropboxRequest: removed
DatasourceFichierRequest: removed
DatasourceFileInfo: removed
DatasourceFilefabricRequest: removed
DatasourceFtpRequest: removed
DatasourceGcsRequest: removed
DatasourceGphotosRequest: removed
DatasourceHTTPRequest: removed
DatasourceHdfsRequest: removed
DatasourceHidriveRequest: removed
DatasourceInternetarchiveRequest: removed
DatasourceJottacloudRequest: removed
DatasourceKoofrRequest: removed
DatasourceLocalRequest: removed
DatasourceMailruRequest: removed
DatasourceMegaRequest: removed
DatasourceNetstorageRequest: removed
DatasourceOnedriveRequest: removed
DatasourceOosRequest: removed
DatasourceOpendriveRequest: removed
DatasourcePackJobsByState: removed
DatasourcePcloudRequest: removed
DatasourcePremiumizemeRequest: removed
DatasourcePutioRequest: removed
DatasourceQingstorRequest: removed
DatasourceRepackRequest: removed
DatasourceS3Request: removed
DatasourceSeafileRequest: removed
DatasourceSftpRequest: removed
DatasourceSharefileRequest: removed
DatasourceSiaRequest: removed
DatasourceSmbRequest: removed
DatasourceStorjRequest: removed
DatasourceSugarsyncRequest: removed
DatasourceSwiftRequest: removed
DatasourceUptoboxRequest: removed
DatasourceWebdavRequest: removed
DatasourceYandexRequest: removed
DatasourceZohoRequest: removed
DealListDealRequest.Datasets: removed
DealListDealRequest.States: changed from []string to []ModelDealState
GithubComDataPreservationProgramsSingularityHandlerDatasourceEntry: removed
InspectDirDetail: removed
InspectGetPathRequest: removed
InspectGetSourcePackJobsRequest: removed
ModelCID: changed from interface{} to string
ModelCar.DatasetID: removed
ModelCar.FilePath: removed
ModelCar.Header: removed
ModelCar.PackJobID: removed
ModelCar.SourceID: removed
ModelDataset: removed
ModelDeal.DatasetID: removed
ModelDirectory: removed
ModelFile.CreatedAt: removed
ModelFile.LastModified: removed
ModelFile.SourceID: removed
ModelFileRange.File: removed
ModelFileRange.PackJobID: removed
ModelMetadata: removed
ModelPackJob: removed
ModelSchedule.DatasetID: removed
ModelSource: removed
ModelSourceType: removed
ModelSourceTypeLocal: removed
ModelSourceTypeUpload: removed
ModelWallet.RemotePeer: removed
ModelWalletAssignment: removed
ModelWorkState: removed
ModelWorkStateComplete: removed
ModelWorkStateCreated: removed
ModelWorkStateError: removed
ModelWorkStateProcessing: removed
ModelWorkStateReady: removed
NewModelSourceType: removed
NewModelWorkState: removed
ScheduleCreateRequest.DatasetName: removed
WalletAddRemoteRequest: removed
## compatible changes
DataprepAddPieceRequest: added
DataprepCreateRequest: added
DataprepDirEntry: added
DataprepExploreResult: added
DataprepPieceList: added
DataprepVersion: added
DealListDealRequest.Preparations: added
DealListDealRequest.Sources: added
FileInfo: added
JobSourceStatus: added
ModelCar.AttachmentID: added
ModelCar.JobID: added
ModelCar.PreparationID: added
ModelCar.StorageID: added
ModelCar.StoragePath: added
ModelConfigMap: added
ModelFile.AttachmentID: added
ModelFile.LastModifiedNano: added
ModelFileRange.JobID: added
ModelJob: added
ModelJobState: added
ModelJobStateComplete: added
ModelJobStateCreated: added
ModelJobStateError: added
ModelJobStatePaused: added
ModelJobStateProcessing: added
ModelJobStateReady: added
ModelJobType: added
ModelJobTypeDaggen: added
ModelJobTypePack: added
ModelJobTypeScan: added
ModelPreparation: added
ModelSchedule.PreparationID: added
ModelStorage: added
NewModelJobState: added
NewModelJobType: added
ScheduleCreateRequest.Preparation: added
StorageAcdConfig: added
StorageAzureblobConfig: added
StorageB2Config: added
StorageBoxConfig: added
StorageCreateAcdStorageRequest: added
StorageCreateAzureblobStorageRequest: added
StorageCreateB2StorageRequest: added
StorageCreateBoxStorageRequest: added
StorageCreateDriveStorageRequest: added
StorageCreateDropboxStorageRequest: added
StorageCreateFichierStorageRequest: added
StorageCreateFilefabricStorageRequest: added
StorageCreateFtpStorageRequest: added
StorageCreateGcsStorageRequest: added
StorageCreateGphotosStorageRequest: added
StorageCreateHTTPStorageRequest: added
StorageCreateHdfsStorageRequest: added
StorageCreateHidriveStorageRequest: added
StorageCreateInternetarchiveStorageRequest: added
StorageCreateJottacloudStorageRequest: added
StorageCreateKoofrDigistorageStorageRequest: added
StorageCreateKoofrKoofrStorageRequest: added
StorageCreateKoofrOtherStorageRequest: added
StorageCreateLocalStorageRequest: added
StorageCreateMailruStorageRequest: added
StorageCreateMegaStorageRequest: added
StorageCreateNetstorageStorageRequest: added
StorageCreateOnedriveStorageRequest: added
StorageCreateOosEnvAuthStorageRequest: added
StorageCreateOosInstancePrincipalAuthStorageRequest: added
StorageCreateOosNoAuthStorageRequest: added
StorageCreateOosResourcePrincipalAuthStorageRequest: added
StorageCreateOosUserPrincipalAuthStorageRequest: added
StorageCreateOpendriveStorageRequest: added
StorageCreatePcloudStorageRequest: added
StorageCreatePremiumizemeStorageRequest: added
StorageCreatePutioStorageRequest: added
StorageCreateQingstorStorageRequest: added
StorageCreateRequest: added
StorageCreateS3AWSStorageRequest: added
StorageCreateS3AlibabaStorageRequest: added
StorageCreateS3ArvanCloudStorageRequest: added
StorageCreateS3CephStorageRequest: added
StorageCreateS3ChinaMobileStorageRequest: added
StorageCreateS3CloudflareStorageRequest: added
StorageCreateS3DigitalOceanStorageRequest: added
StorageCreateS3DreamhostStorageRequest: added
StorageCreateS3HuaweiOBSStorageRequest: added
StorageCreateS3IBMCOSStorageRequest: added
StorageCreateS3IDriveStorageRequest: added
StorageCreateS3IONOSStorageRequest: added
StorageCreateS3LiaraStorageRequest: added
StorageCreateS3LyveCloudStorageRequest: added
StorageCreateS3MinioStorageRequest: added
StorageCreateS3NeteaseStorageRequest: added
StorageCreateS3OtherStorageRequest: added
StorageCreateS3QiniuStorageRequest: added
StorageCreateS3RackCorpStorageRequest: added
StorageCreateS3ScalewayStorageRequest: added
StorageCreateS3SeaweedFSStorageRequest: added
StorageCreateS3StackPathStorageRequest: added
StorageCreateS3StorjStorageRequest: added
StorageCreateS3TencentCOSStorageRequest: added
StorageCreateS3WasabiStorageRequest: added
StorageCreateSeafileStorageRequest: added
StorageCreateSftpStorageRequest: added
StorageCreateSharefileStorageRequest: added
StorageCreateSiaStorageRequest: added
StorageCreateSmbStorageRequest: added
StorageCreateStorjExistingStorageRequest: added
StorageCreateStorjNewStorageRequest: added
StorageCreateSugarsyncStorageRequest: added
StorageCreateSwiftStorageRequest: added
StorageCreateUptoboxStorageRequest: added
StorageCreateWebdavStorageRequest: added
StorageCreateYandexStorageRequest: added
StorageCreateZohoStorageRequest: added
StorageDirEntry: added
StorageDriveConfig: added
StorageDropboxConfig: added
StorageFichierConfig: added
StorageFilefabricConfig: added
StorageFtpConfig: added
StorageGcsConfig: added
StorageGphotosConfig: added
StorageHTTPConfig: added
StorageHdfsConfig: added
StorageHidriveConfig: added
StorageInternetarchiveConfig: added
StorageJottacloudConfig: added
StorageKoofrDigistorageConfig: added
StorageKoofrKoofrConfig: added
StorageKoofrOtherConfig: added
StorageLocalConfig: added
StorageMailruConfig: added
StorageMegaConfig: added
StorageNetstorageConfig: added
StorageOnedriveConfig: added
StorageOosEnvAuthConfig: added
StorageOosInstancePrincipalAuthConfig: added
StorageOosNoAuthConfig: added
StorageOosResourcePrincipalAuthConfig: added
StorageOosUserPrincipalAuthConfig: added
StorageOpendriveConfig: added
StoragePcloudConfig: added
StoragePremiumizemeConfig: added
StoragePutioConfig: added
StorageQingstorConfig: added
StorageS3AWSConfig: added
StorageS3AlibabaConfig: added
StorageS3ArvanCloudConfig: added
StorageS3CephConfig: added
StorageS3ChinaMobileConfig: added
StorageS3CloudflareConfig: added
StorageS3DigitalOceanConfig: added
StorageS3DreamhostConfig: added
StorageS3HuaweiOBSConfig: added
StorageS3IBMCOSConfig: added
StorageS3IDriveConfig: added
StorageS3IONOSConfig: added
StorageS3LiaraConfig: added
StorageS3LyveCloudConfig: added
StorageS3MinioConfig: added
StorageS3NeteaseConfig: added
StorageS3OtherConfig: added
StorageS3QiniuConfig: added
StorageS3RackCorpConfig: added
StorageS3ScalewayConfig: added
StorageS3SeaweedFSConfig: added
StorageS3StackPathConfig: added
StorageS3StorjConfig: added
StorageS3TencentCOSConfig: added
StorageS3WasabiConfig: added
StorageSeafileConfig: added
StorageSftpConfig: added
StorageSharefileConfig: added
StorageSiaConfig: added
StorageSmbConfig: added
StorageStorjExistingConfig: added
StorageStorjNewConfig: added
StorageSugarsyncConfig: added
StorageSwiftConfig: added
StorageUptoboxConfig: added
StorageWebdavConfig: added
StorageYandexConfig: added
StorageZohoConfig: added

# github.com/data-preservation-programs/singularity/client/testutil
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/cmd
## incompatible changes
RunArgsInTest: removed
RunArgsInTestNoCapture: removed
SetVersion: removed
## compatible changes
CalculateCommp: added
CompareDirectories: added
Download: added
GetAllPieceCIDs: added
GetFirstCID: added
JSON: added
MockAdmin: added
MockDataPrep: added
MockDeal: added
MockFile: added
MockJob: added
MockSchedule: added
MockStorage: added
MockWallet: added
NewRunner: added
Normal: added
Runner: added
RunnerMode: added
SetVersionJSON: added
SetupErrorHandler: added
Verbose: added
WaitForServerReady: added

# github.com/data-preservation-programs/singularity/cmd/cliutil
## incompatible changes
PrintAsJSON: changed from func(any) to func(*github.com/urfave/cli/v2.Context, any)
PrintToConsole: removed
## compatible changes
CheckNArgs: added
ErrIncorrectNArgs: added
ErrReallyDoIt: added
Failure: added
Print: added

# github.com/data-preservation-programs/singularity/cmd/dataprep
## compatible changes
package added

# github.com/data-preservation-programs/singularity/cmd/dataset
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/cmd/datasource
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/cmd/datasource/inspect
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/cmd/deal/spadepolicy
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/cmd/storage
## compatible changes
package added

# github.com/data-preservation-programs/singularity/cmd/wallet
## incompatible changes
AddRemoteCmd: removed

# github.com/data-preservation-programs/singularity/database
## incompatible changes
DropAll: removed
FindDatasetByName: removed
Open: removed
OpenInMemory: removed
SupportedTestDialects: removed
TestConnectionString: removed
## compatible changes
AddPragmaToSQLite: added
ErrInmemoryWithHighConcurrency: added

# github.com/data-preservation-programs/singularity/datasource
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/handler
## incompatible changes
DownloadHandler: changed from func(context.Context, string, string, map[string]string, string, int) error to func(*github.com/urfave/cli/v2.Context, string, string, map[string]string, string, int) error
DuplicateRecordError: removed
InvalidParameterError: removed
NewDuplicateRecordError: removed
NewInvalidParameterErr: removed
NotFoundError: removed

# github.com/data-preservation-programs/singularity/handler/admin
## incompatible changes
InitHandler: removed
ResetHandler: removed
## compatible changes
Default: added
DefaultHandler: added
Handler: added

# github.com/data-preservation-programs/singularity/handler/dataprep
## compatible changes
package added

# github.com/data-preservation-programs/singularity/handler/dataset
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/handler/datasource
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/handler/datasource/generate
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/handler/datasource/inspect
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/handler/deal
## incompatible changes
ListDealRequest.Datasets: removed
ListDealRequest.Schedules: changed from []uint to []uint32
ListDealRequest.States: changed from []string to []github.com/data-preservation-programs/singularity/model.DealState
ListHandler: removed
SendManualHandler: removed
## compatible changes
Default: added
DefaultHandler: added
Handler: added
ListDealRequest.Preparations: added
ListDealRequest.Sources: added

# github.com/data-preservation-programs/singularity/handler/deal/schedule
## incompatible changes
CreateHandler: removed
CreateRequest.DatasetName: removed
ListByDatasetHandler: removed
ListHandler: removed
PauseHandler: removed
ResumeHandler: removed
## compatible changes
CreateRequest.Preparation: added
Default: added
DefaultHandler: added
Handler: added

# github.com/data-preservation-programs/singularity/handler/file
## compatible changes
package added

# github.com/data-preservation-programs/singularity/handler/handlererror
## compatible changes
package added

# github.com/data-preservation-programs/singularity/handler/job
## compatible changes
package added

# github.com/data-preservation-programs/singularity/handler/storage
## compatible changes
package added

# github.com/data-preservation-programs/singularity/handler/storage/gen
## compatible changes
package added

# github.com/data-preservation-programs/singularity/handler/tool
## incompatible changes
ExtractCarHandler: changed from func(context.Context, string, string, github.com/ipfs/go-cid.Cid) error to func(*github.com/urfave/cli/v2.Context, string, string, github.com/ipfs/go-cid.Cid) error

# github.com/data-preservation-programs/singularity/handler/wallet
## incompatible changes
AddRemoteHandler: removed
AddRemoteRequest: removed
AddWalletHandler: removed
ImportHandler: removed
ListHandler: removed
ListWalletHandler: removed
RemoveHandler: removed
RemoveWalletHandler: removed
## compatible changes
Default: added
DefaultHandler: added
Handler: added

# github.com/data-preservation-programs/singularity/model
## incompatible changes
Car.Dataset: removed
Car.DatasetID: removed
Car.FilePath: removed
Car.Header: removed
Car.PackJob: removed
Car.PackJobID: removed
Car.Source: removed
Car.SourceID: removed
CarBlock.FileEncrypted: removed
CreateIndexes: removed
Dataset: removed
Deal.Dataset: removed
Deal.DatasetID: removed
DealMaking: removed
DealTracking: removed
Directory.Source: removed
Directory.SourceID: removed
Directory.UpdatedAt: removed
ErrInvalidWorkState: removed
File.CreatedAt: removed
File.LastModifiedTimestampNano: removed
File.Name: removed
File.Source: removed
File.SourceID: removed
FileRange.PackJob: removed
FileRange.PackJobID: removed
Local: removed
Metadata: removed
PackJob: removed
Packing: removed
Schedule.Dataset: removed
Schedule.DatasetID: removed
Source: removed
SourceType: removed
Upload: removed
Wallet.RemotePeer: removed
WalletAssignment: removed
WorkState: removed
WorkStateStrings: removed
WorkStates: removed
WorkType: removed
WorkTypes: removed
Worker.WorkType: removed
Worker.WorkingOn: removed
## compatible changes
Car.Attachment: added
Car.AttachmentID: added
Car.Job: added
Car.JobID: added
Car.Preparation: added
Car.PreparationID: added
Car.Storage: added
Car.StorageID: added
Car.StoragePath: added
ConfigMap: added
DagGen: added
DatasetWorker: added
DealPusher: added
DealStateStrings: added
DealTracker: added
Directory.Attachment: added
Directory.AttachmentID: added
ErrInvalidCIDEntry: added
ErrInvalidJobState: added
ErrInvalidStringMapEntry: added
ErrInvalidStringSliceEntry: added
File.Attachment: added
File.AttachmentID: added
File.FileName: added
File.LastModifiedNano: added
FileRange.Job: added
FileRange.JobID: added
Job: added
JobState: added
JobStateStrings: added
JobStates: added
JobType: added
JobTypeStrings: added
JobTypes: added
OutputAttachment: added
Pack: added
Paused: added
Preparation: added
Schedule.Preparation: added
Schedule.PreparationID: added
ScheduleStateStrings: added
SourceAttachment: added
Storage: added
Worker.Type: added
WorkerType: added

# github.com/data-preservation-programs/singularity/pack
## incompatible changes
AssembleCar: removed
AssembleFileFromLinks: removed
BlockResult: removed
CarResult: removed
ChunkSize: removed
EmptyFileCid: removed
GenerateCarHeader: removed
GetBlockStreamFromFileRange: removed
GetMultiWriter: removed
IsSameEntry: removed
Min: removed
NumLinkPerNode: removed
Result: removed
WriteCarBlock: removed
WriteCarHeader: removed
WriteCloser: removed
## compatible changes
Assembler: added
NewAssembler: added
Pack: added

# github.com/data-preservation-programs/singularity/pack/daggen
## incompatible changes
NewDummyNode: changed from func(uint64, github.com/ipfs/go-cid.Cid) DummyNode to func(uint64, github.com/ipfs/go-cid.Cid) *DummyNode

# github.com/data-preservation-programs/singularity/pack/encryption
## incompatible changes
package removed

# github.com/data-preservation-programs/singularity/pack/packutil
## compatible changes
package added

# github.com/data-preservation-programs/singularity/pack/push
## compatible changes
package added

# github.com/data-preservation-programs/singularity/replication
## compatible changes
ErrNoSupportedProtocols: added

# github.com/data-preservation-programs/singularity/scan
## compatible changes
package added

# github.com/data-preservation-programs/singularity/service/contentprovider
## incompatible changes
PieceMetadata.Source: removed
## compatible changes
PieceMetadata.Storages: added

# github.com/data-preservation-programs/singularity/service/datasetworker
## incompatible changes
(*Thread).ExportDag: changed from func(context.Context, github.com/data-preservation-programs/singularity/model.Source) error to func(context.Context, github.com/data-preservation-programs/singularity/model.Job) error
ErrorMessageKey: removed
WorkModel: removed
WorkStateKey: removed
WorkType: removed
WorkTypeDag: removed
WorkTypeNone: removed
WorkTypePack: removed
WorkTypeScan: removed
WorkerIDKey: removed
## compatible changes
DagGenerator: added
ErrDagNotReady: added
NewDagGenerator: added

# github.com/data-preservation-programs/singularity/service/healthcheck
## incompatible changes
Register: changed from func(context.Context, *gorm.io/gorm.DB, github.com/google/uuid.UUID, func() State, bool) (bool, error) to func(context.Context, *gorm.io/gorm.DB, github.com/google/uuid.UUID, github.com/data-preservation-programs/singularity/model.WorkerType, bool) (bool, error)
ReportHealth: changed from func(context.Context, *gorm.io/gorm.DB, github.com/google/uuid.UUID, func() State) to func(context.Context, *gorm.io/gorm.DB, github.com/google/uuid.UUID, github.com/data-preservation-programs/singularity/model.WorkerType)
StartReportHealth: changed from func(context.Context, *gorm.io/gorm.DB, github.com/google/uuid.UUID, func() State) to func(context.Context, *gorm.io/gorm.DB, github.com/google/uuid.UUID, github.com/data-preservation-programs/singularity/model.WorkerType)
State.WorkType: removed
## compatible changes
State.JobType: added

# github.com/data-preservation-programs/singularity/storagesystem
## compatible changes
package added

# github.com/data-preservation-programs/singularity/store
## incompatible changes
(*PieceReader).Clone: changed from func(context.Context) *PieceReader to func() *PieceReader
ErrNotImplemented: removed
ErrSourceMismatch: removed
FileHasChangedError: removed
FileReferenceBlockStore.HandlerResolver: removed
NewPieceReader: changed from func(context.Context, github.com/data-preservation-programs/singularity/model.Car, github.com/data-preservation-programs/singularity/model.Source, []github.com/data-preservation-programs/singularity/model.CarBlock, []github.com/data-preservation-programs/singularity/model.File, github.com/data-preservation-programs/singularity/datasource.HandlerResolver) (*PieceReader, error) to func(context.Context, github.com/data-preservation-programs/singularity/model.Car, []github.com/data-preservation-programs/singularity/model.Storage, []github.com/data-preservation-programs/singularity/model.CarBlock, []github.com/data-preservation-programs/singularity/model.File) (*PieceReader, error)
## compatible changes
ErrFileHasChanged: added
ErrStorageMismatch: added

# github.com/data-preservation-programs/singularity/util
## incompatible changes
GetLotusHeadTime: removed
## compatible changes
AggregateError.As: added
AggregateError.Format: added
AggregateError.Is: added
AggregateError.Unwrap: added
ErrNotImplemented: added
GenerateCarHeader: added
IsAllDigits: added
IsDuplicateKeyError: added
RandomName: added

# github.com/data-preservation-programs/singularity/util/testutil
## compatible changes
All: added
CloserFunc: added
EscapePath: added
GenerateFixedBytes: added
One: added
OneWithoutReset: added
RandomLetterString: added
SupportedTestDialects: added
TestCid: added
TestPrivateKeyHex: added
TestWalletAddr: added

# diagnostics
go.sum: one or more sums are missing. Run 'go mod tidy' to add missing sums.
required module github.com/microcosm-cc/bluemonday@v1.0.21 retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v0.4.0

gocompat says:

Your branch is up to date with 'origin/main'.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.03% 🎉

Comparison is base (f1126b2) 68.76% compared to head (9987ff4) 68.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
+ Coverage   68.76%   68.80%   +0.03%     
==========================================
  Files         119      119              
  Lines        7578     7578              
==========================================
+ Hits         5211     5214       +3     
+ Misses       1798     1796       -2     
+ Partials      569      568       -1     

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.

📢 Have feedback on the report? Share it here.

@xinaxu xinaxu requested a review from masih September 8, 2023 06:22
@xinaxu xinaxu merged commit 36ecfc5 into main Sep 8, 2023
16 checks passed
@xinaxu xinaxu deleted the xinaxu-patch-1 branch September 8, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants