@blinklabs/dingo 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dingo/blob/000001.sst +0 -0
- package/.dingo/blob/000001.vlog +0 -0
- package/.dingo/blob/DISCARD +0 -0
- package/.dingo/blob/KEYREGISTRY +2 -0
- package/.dingo/blob/MANIFEST +0 -0
- package/.dingo/metadata.sqlite +0 -0
- package/.github/workflows/golangci-lint.yml +1 -1
- package/.github/workflows/publish.yml +1 -7
- package/README.md +2 -1
- package/{dist/dingo_darwin_amd64_v1/dingo → dingo} +0 -0
- package/dingo.yaml.example +53 -0
- package/package.json +5 -5
- package/Dockerfile +0 -25
- package/Makefile +0 -53
- package/blockfetch.go +0 -144
- package/chain/chain.go +0 -504
- package/chain/chain_test.go +0 -468
- package/chain/errors.go +0 -80
- package/chain/event.go +0 -33
- package/chain/iter.go +0 -64
- package/chainsync/chainsync.go +0 -97
- package/chainsync.go +0 -223
- package/cmd/dingo/load.go +0 -52
- package/cmd/dingo/main.go +0 -118
- package/cmd/dingo/serve.go +0 -49
- package/config/cardano/node.go +0 -192
- package/config/cardano/node_test.go +0 -85
- package/config/cardano/preview/README.md +0 -4
- package/config/cardano/preview/alonzo-genesis.json +0 -196
- package/config/cardano/preview/byron-genesis.json +0 -117
- package/config/cardano/preview/config.json +0 -114
- package/config/cardano/preview/conway-genesis.json +0 -297
- package/config/cardano/preview/shelley-genesis.json +0 -68
- package/config.go +0 -245
- package/connmanager/connection_manager.go +0 -105
- package/connmanager/connection_manager_test.go +0 -185
- package/connmanager/event.go +0 -37
- package/connmanager/listener.go +0 -140
- package/connmanager/outbound.go +0 -93
- package/connmanager/socket.go +0 -55
- package/connmanager/unix.go +0 -78
- package/custom-p2p-topology.json +0 -24
- package/custom-p2p-topology.json.backup +0 -24
- package/custom-p2p-topology.json.mainnet +0 -37
- package/database/account.go +0 -138
- package/database/block.go +0 -362
- package/database/certs.go +0 -53
- package/database/commit_timestamp.go +0 -77
- package/database/database.go +0 -118
- package/database/database_test.go +0 -62
- package/database/drep.go +0 -27
- package/database/epoch.go +0 -121
- package/database/immutable/chunk.go +0 -182
- package/database/immutable/immutable.go +0 -350
- package/database/immutable/immutable_test.go +0 -59
- package/database/immutable/primary.go +0 -106
- package/database/immutable/secondary.go +0 -103
- package/database/immutable/testdata/08893.chunk +0 -0
- package/database/immutable/testdata/08893.primary +0 -0
- package/database/immutable/testdata/08893.secondary +0 -0
- package/database/immutable/testdata/08894.chunk +0 -0
- package/database/immutable/testdata/08894.primary +0 -0
- package/database/immutable/testdata/08894.secondary +0 -0
- package/database/immutable/testdata/README.md +0 -4
- package/database/plugin/blob/badger/commit_timestamp.go +0 -50
- package/database/plugin/blob/badger/database.go +0 -152
- package/database/plugin/blob/badger/logger.go +0 -63
- package/database/plugin/blob/badger/metrics.go +0 -98
- package/database/plugin/blob/blob.go +0 -19
- package/database/plugin/blob/store.go +0 -40
- package/database/plugin/log.go +0 -27
- package/database/plugin/metadata/metadata.go +0 -19
- package/database/plugin/metadata/sqlite/account.go +0 -224
- package/database/plugin/metadata/sqlite/certs.go +0 -58
- package/database/plugin/metadata/sqlite/commit_timestamp.go +0 -68
- package/database/plugin/metadata/sqlite/database.go +0 -218
- package/database/plugin/metadata/sqlite/epoch.go +0 -120
- package/database/plugin/metadata/sqlite/models/account.go +0 -81
- package/database/plugin/metadata/sqlite/models/auth_committee_hot.go +0 -26
- package/database/plugin/metadata/sqlite/models/deregistration_drep.go +0 -26
- package/database/plugin/metadata/sqlite/models/drep.go +0 -27
- package/database/plugin/metadata/sqlite/models/epoch.go +0 -31
- package/database/plugin/metadata/sqlite/models/models.go +0 -45
- package/database/plugin/metadata/sqlite/models/pool.go +0 -97
- package/database/plugin/metadata/sqlite/models/pparam_update.go +0 -27
- package/database/plugin/metadata/sqlite/models/pparams.go +0 -27
- package/database/plugin/metadata/sqlite/models/registration_drep.go +0 -28
- package/database/plugin/metadata/sqlite/models/resign_committee_cold.go +0 -27
- package/database/plugin/metadata/sqlite/models/stake_registration_delegation.go +0 -27
- package/database/plugin/metadata/sqlite/models/stake_vote_delegation.go +0 -27
- package/database/plugin/metadata/sqlite/models/stake_vote_registration_delegation.go +0 -27
- package/database/plugin/metadata/sqlite/models/tip.go +0 -26
- package/database/plugin/metadata/sqlite/models/update_drep.go +0 -27
- package/database/plugin/metadata/sqlite/models/utxo.go +0 -30
- package/database/plugin/metadata/sqlite/models/vote_delegation.go +0 -26
- package/database/plugin/metadata/sqlite/models/vote_registration_delegation.go +0 -26
- package/database/plugin/metadata/sqlite/pool.go +0 -240
- package/database/plugin/metadata/sqlite/pparams.go +0 -110
- package/database/plugin/metadata/sqlite/tip.go +0 -83
- package/database/plugin/metadata/sqlite/utxo.go +0 -292
- package/database/plugin/metadata/store.go +0 -168
- package/database/plugin/option.go +0 -190
- package/database/plugin/plugin.go +0 -20
- package/database/plugin/register.go +0 -118
- package/database/pparams.go +0 -145
- package/database/tip.go +0 -45
- package/database/txn.go +0 -147
- package/database/types/types.go +0 -74
- package/database/types/types_test.go +0 -83
- package/database/utxo.go +0 -263
- package/dist/artifacts.json +0 -1
- package/dist/checksums.txt +0 -22
- package/dist/config.yaml +0 -253
- package/dist/dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz +0 -0
- package/dist/dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz.sbom.json +0 -1
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz +0 -0
- package/dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz.sbom.json +0 -1
- package/dist/dingo_darwin_arm64_v8.0/dingo +0 -0
- package/dist/dingo_linux_amd64_v1/dingo +0 -0
- package/dist/dingo_linux_arm64_v8.0/dingo +0 -0
- package/dist/homebrew/dingo.rb +0 -51
- package/dist/metadata.json +0 -1
- package/event/event.go +0 -141
- package/event/event_test.go +0 -115
- package/event/metrics.go +0 -44
- package/go.mod +0 -98
- package/go.sum +0 -358
- package/internal/config/config.go +0 -145
- package/internal/config/config_test.go +0 -118
- package/internal/node/load.go +0 -149
- package/internal/node/node.go +0 -176
- package/internal/version/version.go +0 -33
- package/ledger/certs.go +0 -113
- package/ledger/chainsync.go +0 -578
- package/ledger/eras/allegra.go +0 -154
- package/ledger/eras/alonzo.go +0 -156
- package/ledger/eras/babbage.go +0 -154
- package/ledger/eras/byron.go +0 -42
- package/ledger/eras/conway.go +0 -158
- package/ledger/eras/eras.go +0 -44
- package/ledger/eras/mary.go +0 -154
- package/ledger/eras/shelley.go +0 -164
- package/ledger/error.go +0 -19
- package/ledger/event.go +0 -50
- package/ledger/metrics.go +0 -53
- package/ledger/queries.go +0 -260
- package/ledger/slot.go +0 -127
- package/ledger/slot_test.go +0 -147
- package/ledger/state.go +0 -726
- package/ledger/view.go +0 -73
- package/localstatequery.go +0 -50
- package/localtxmonitor.go +0 -44
- package/localtxsubmission.go +0 -52
- package/mempool/consumer.go +0 -98
- package/mempool/mempool.go +0 -322
- package/node.go +0 -320
- package/peergov/event.go +0 -27
- package/peergov/peer.go +0 -67
- package/peergov/peergov.go +0 -290
- package/peersharing.go +0 -70
- package/preview-local-topology.json +0 -23
- package/topology/topology.go +0 -69
- package/topology/topology_test.go +0 -179
- package/tracing.go +0 -65
- package/txsubmission.go +0 -233
- package/utxorpc/query.go +0 -311
- package/utxorpc/submit.go +0 -395
- package/utxorpc/sync.go +0 -276
- package/utxorpc/utxorpc.go +0 -166
- package/utxorpc/watch.go +0 -310
package/database/utxo.go
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 Blink Labs Software
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
|
|
15
|
-
package database
|
|
16
|
-
|
|
17
|
-
import (
|
|
18
|
-
"errors"
|
|
19
|
-
"math/big"
|
|
20
|
-
"slices"
|
|
21
|
-
|
|
22
|
-
"github.com/blinklabs-io/gouroboros/ledger"
|
|
23
|
-
"github.com/dgraph-io/badger/v4"
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
type Utxo struct {
|
|
27
|
-
ID uint `gorm:"primarykey"`
|
|
28
|
-
TxId []byte `gorm:"index:tx_id_output_idx"`
|
|
29
|
-
OutputIdx uint32 `gorm:"index:tx_id_output_idx"`
|
|
30
|
-
AddedSlot uint64 `gorm:"index"`
|
|
31
|
-
DeletedSlot uint64 `gorm:"index"`
|
|
32
|
-
PaymentKey []byte `gorm:"index"`
|
|
33
|
-
StakingKey []byte `gorm:"index"`
|
|
34
|
-
Cbor []byte `gorm:"-"` // This is not represented in the metadata DB
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
func (u *Utxo) TableName() string {
|
|
38
|
-
return "utxo"
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
func (u *Utxo) Decode() (ledger.TransactionOutput, error) {
|
|
42
|
-
return ledger.NewTransactionOutputFromCbor(u.Cbor)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
func (u *Utxo) loadCbor(txn *Txn) error {
|
|
46
|
-
key := UtxoBlobKey(u.TxId, u.OutputIdx)
|
|
47
|
-
item, err := txn.Blob().Get(key)
|
|
48
|
-
if err != nil {
|
|
49
|
-
return err
|
|
50
|
-
}
|
|
51
|
-
u.Cbor, err = item.ValueCopy(nil)
|
|
52
|
-
if err != nil {
|
|
53
|
-
if errors.Is(err, badger.ErrKeyNotFound) {
|
|
54
|
-
return nil
|
|
55
|
-
}
|
|
56
|
-
return err
|
|
57
|
-
}
|
|
58
|
-
return nil
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
func (d *Database) NewUtxo(
|
|
62
|
-
txId []byte,
|
|
63
|
-
outputIdx uint32,
|
|
64
|
-
slot uint64,
|
|
65
|
-
paymentKey, stakeKey, cbor []byte,
|
|
66
|
-
txn *Txn,
|
|
67
|
-
) error {
|
|
68
|
-
if txn == nil {
|
|
69
|
-
txn = d.Transaction(false)
|
|
70
|
-
defer txn.Commit() //nolint:errcheck
|
|
71
|
-
}
|
|
72
|
-
// Add UTxO to blob DB
|
|
73
|
-
key := UtxoBlobKey(txId, outputIdx)
|
|
74
|
-
err := txn.Blob().Set(key, cbor)
|
|
75
|
-
if err != nil {
|
|
76
|
-
return err
|
|
77
|
-
}
|
|
78
|
-
return d.metadata.SetUtxo(
|
|
79
|
-
txId,
|
|
80
|
-
outputIdx,
|
|
81
|
-
slot,
|
|
82
|
-
paymentKey,
|
|
83
|
-
stakeKey,
|
|
84
|
-
txn.Metadata(),
|
|
85
|
-
)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
func (d *Database) UtxoByRef(
|
|
89
|
-
txId []byte,
|
|
90
|
-
outputIdx uint32,
|
|
91
|
-
txn *Txn,
|
|
92
|
-
) (Utxo, error) {
|
|
93
|
-
tmpUtxo := Utxo{}
|
|
94
|
-
if txn == nil {
|
|
95
|
-
txn = d.Transaction(false)
|
|
96
|
-
defer txn.Commit() //nolint:errcheck
|
|
97
|
-
}
|
|
98
|
-
utxo, err := d.metadata.GetUtxo(txId, outputIdx, txn.Metadata())
|
|
99
|
-
if err != nil {
|
|
100
|
-
return tmpUtxo, err
|
|
101
|
-
}
|
|
102
|
-
tmpUtxo = Utxo(utxo)
|
|
103
|
-
if err := tmpUtxo.loadCbor(txn); err != nil {
|
|
104
|
-
return tmpUtxo, err
|
|
105
|
-
}
|
|
106
|
-
return tmpUtxo, nil
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
func (d *Database) UtxoConsume(
|
|
110
|
-
utxoId ledger.TransactionInput,
|
|
111
|
-
slot uint64,
|
|
112
|
-
txn *Txn,
|
|
113
|
-
) error {
|
|
114
|
-
if txn == nil {
|
|
115
|
-
txn = NewMetadataOnlyTxn(d, true)
|
|
116
|
-
defer txn.Commit() //nolint:errcheck
|
|
117
|
-
}
|
|
118
|
-
return d.metadata.SetUtxoDeletedAtSlot(utxoId, slot, txn.Metadata())
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
func (d *Database) UtxosByAddress(
|
|
122
|
-
addr ledger.Address,
|
|
123
|
-
txn *Txn,
|
|
124
|
-
) ([]Utxo, error) {
|
|
125
|
-
ret := []Utxo{}
|
|
126
|
-
if txn == nil {
|
|
127
|
-
txn = d.Transaction(false)
|
|
128
|
-
defer txn.Commit() //nolint:errcheck
|
|
129
|
-
}
|
|
130
|
-
utxos, err := d.metadata.GetUtxosByAddress(addr, txn.Metadata())
|
|
131
|
-
if err != nil {
|
|
132
|
-
return ret, err
|
|
133
|
-
}
|
|
134
|
-
var tmpUtxo Utxo
|
|
135
|
-
for _, utxo := range utxos {
|
|
136
|
-
tmpUtxo = Utxo(utxo)
|
|
137
|
-
if err := tmpUtxo.loadCbor(txn); err != nil {
|
|
138
|
-
return ret, err
|
|
139
|
-
}
|
|
140
|
-
ret = append(ret, tmpUtxo)
|
|
141
|
-
}
|
|
142
|
-
return ret, nil
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
func (d *Database) UtxosDeleteConsumed(
|
|
146
|
-
slot uint64,
|
|
147
|
-
txn *Txn,
|
|
148
|
-
) error {
|
|
149
|
-
var ret error
|
|
150
|
-
if txn == nil {
|
|
151
|
-
txn = d.Transaction(true)
|
|
152
|
-
defer txn.Commit() //nolint:errcheck
|
|
153
|
-
}
|
|
154
|
-
// Get UTxOs that are marked as deleted and older than our slot window
|
|
155
|
-
utxos, err := d.metadata.GetUtxosDeletedBeforeSlot(slot, txn.Metadata())
|
|
156
|
-
if err != nil {
|
|
157
|
-
return errors.New("failed to query consumed UTxOs during cleanup")
|
|
158
|
-
}
|
|
159
|
-
err = d.metadata.DeleteUtxosBeforeSlot(slot, txn.Metadata())
|
|
160
|
-
if err != nil {
|
|
161
|
-
return err
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
// Loop through UTxOs and delete, with a new transaction each loop
|
|
165
|
-
for ret == nil {
|
|
166
|
-
// short-circuit loop
|
|
167
|
-
|
|
168
|
-
batchSize := min(1000, len(utxos))
|
|
169
|
-
if batchSize == 0 {
|
|
170
|
-
break
|
|
171
|
-
}
|
|
172
|
-
loopTxn := NewBlobOnlyTxn(d, true)
|
|
173
|
-
err := loopTxn.Do(func(txn *Txn) error {
|
|
174
|
-
// Remove from blob DB
|
|
175
|
-
for _, utxo := range utxos[0:batchSize] {
|
|
176
|
-
key := UtxoBlobKey(utxo.TxId, utxo.OutputIdx)
|
|
177
|
-
err := txn.Blob().Delete(key)
|
|
178
|
-
if err != nil {
|
|
179
|
-
ret = err
|
|
180
|
-
return err
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
return nil
|
|
184
|
-
})
|
|
185
|
-
if err != nil {
|
|
186
|
-
ret = err
|
|
187
|
-
break
|
|
188
|
-
}
|
|
189
|
-
// Remove batch
|
|
190
|
-
utxos = slices.Delete(utxos, 0, batchSize)
|
|
191
|
-
}
|
|
192
|
-
return ret
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
func (d *Database) UtxosDeleteRolledback(
|
|
196
|
-
slot uint64,
|
|
197
|
-
txn *Txn,
|
|
198
|
-
) error {
|
|
199
|
-
var ret error
|
|
200
|
-
if txn == nil {
|
|
201
|
-
txn = d.Transaction(true)
|
|
202
|
-
defer txn.Commit() //nolint:errcheck
|
|
203
|
-
}
|
|
204
|
-
utxos, err := d.metadata.GetUtxosDeletedBeforeSlot(slot, txn.Metadata())
|
|
205
|
-
if err != nil {
|
|
206
|
-
return err
|
|
207
|
-
}
|
|
208
|
-
err = d.metadata.DeleteUtxosAfterSlot(slot, txn.Metadata())
|
|
209
|
-
if err != nil {
|
|
210
|
-
return err
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// Loop through UTxOs and delete, reusing our transaction
|
|
214
|
-
for ret == nil {
|
|
215
|
-
// short-circuit loop
|
|
216
|
-
|
|
217
|
-
batchSize := min(1000, len(utxos))
|
|
218
|
-
if batchSize == 0 {
|
|
219
|
-
break
|
|
220
|
-
}
|
|
221
|
-
loopTxn := NewBlobOnlyTxn(d, true)
|
|
222
|
-
err := loopTxn.Do(func(txn *Txn) error {
|
|
223
|
-
// Remove from blob DB
|
|
224
|
-
for _, utxo := range utxos[0:batchSize] {
|
|
225
|
-
key := UtxoBlobKey(utxo.TxId, utxo.OutputIdx)
|
|
226
|
-
err := txn.Blob().Delete(key)
|
|
227
|
-
if err != nil {
|
|
228
|
-
ret = err
|
|
229
|
-
return err
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
return nil
|
|
233
|
-
})
|
|
234
|
-
if err != nil {
|
|
235
|
-
ret = err
|
|
236
|
-
break
|
|
237
|
-
}
|
|
238
|
-
// Remove batch
|
|
239
|
-
utxos = slices.Delete(utxos, 0, batchSize)
|
|
240
|
-
}
|
|
241
|
-
return ret
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
func (d *Database) UtxosUnspend(
|
|
245
|
-
slot uint64,
|
|
246
|
-
txn *Txn,
|
|
247
|
-
) error {
|
|
248
|
-
if txn == nil {
|
|
249
|
-
txn = NewMetadataOnlyTxn(d, true)
|
|
250
|
-
defer txn.Commit() //nolint:errcheck
|
|
251
|
-
}
|
|
252
|
-
return d.metadata.SetUtxosNotDeletedAfterSlot(slot, txn.Metadata())
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
func UtxoBlobKey(txId []byte, outputIdx uint32) []byte {
|
|
256
|
-
key := []byte("u")
|
|
257
|
-
key = append(key, txId...)
|
|
258
|
-
// Convert index to bytes
|
|
259
|
-
idxBytes := make([]byte, 4)
|
|
260
|
-
new(big.Int).SetUint64(uint64(outputIdx)).FillBytes(idxBytes)
|
|
261
|
-
key = append(key, idxBytes...)
|
|
262
|
-
return key
|
|
263
|
-
}
|
package/dist/artifacts.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"name":"metadata.json","path":"dist/metadata.json","internal_type":30,"type":"Metadata"},{"name":"dingo","path":"dist/dingo_linux_arm64_v8.0/dingo","goos":"linux","goarch":"arm64","goarm64":"v8.0","target":"linux_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"dingo","Builder":"go","Ext":"","ID":"dingo"}},{"name":"dingo","path":"dist/dingo_linux_amd64_v1/dingo","goos":"linux","goarch":"amd64","goamd64":"v1","target":"linux_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"dingo","Builder":"go","Ext":"","ID":"dingo"}},{"name":"dingo","path":"dist/dingo_darwin_amd64_v1/dingo","goos":"darwin","goarch":"amd64","goamd64":"v1","target":"darwin_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"dingo","Builder":"go","Ext":"","ID":"dingo"}},{"name":"dingo","path":"dist/dingo_darwin_arm64_v8.0/dingo","goos":"darwin","goarch":"arm64","goarm64":"v8.0","target":"darwin_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"dingo","Builder":"go","Ext":"","ID":"dingo"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz","goos":"darwin","goarch":"arm64","goarm64":"v8.0","target":"darwin_arm64_v8.0","internal_type":1,"type":"Archive","extra":{"Binaries":["dingo"],"Checksum":"sha256:c51a06b85b0fb53ea5149152dbc5b7f77423eec9a3ca4230be2ef34d48aef2a5","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz","goos":"linux","goarch":"arm64","goarm64":"v8.0","target":"linux_arm64_v8.0","internal_type":1,"type":"Archive","extra":{"Binaries":["dingo"],"Checksum":"sha256:87f24431d51ff63f0fe1e4f826ed63830a3ba83cf34342371332380cb025e78c","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz","goos":"darwin","goarch":"amd64","goamd64":"v1","target":"darwin_amd64_v1","internal_type":1,"type":"Archive","extra":{"Binaries":["dingo"],"Checksum":"sha256:8a9a2d9d1dda0c5302cf01f2017f7b0f235f9a5b37df253410a3951630a99147","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz","goos":"linux","goarch":"amd64","goamd64":"v1","target":"linux_amd64_v1","internal_type":1,"type":"Archive","extra":{"Binaries":["dingo"],"Checksum":"sha256:10a54437219ae7a105c57f2e5727bf58ad070815c7548081980b52505902d3a3","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz","path":"dist/dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz","internal_type":15,"type":"Source","extra":{"Checksum":"sha256:0a14ca3f064209e429aa1788f319f7472244d0e30456c36d505a16242ccc7dcc","Format":"tar.gz"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk","goos":"linux","goarch":"arm64","internal_type":6,"type":"Linux Package","extra":{"Checksum":"sha256:0fd9e95abafb1d950da2d99813b71d40fc67697c86b063e99d6e43500aaf3afa","Ext":".apk","Files":[{"src":"dist/dingo_linux_arm64_v8.0/dingo","dst":"/usr/bin/dingo","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"apk","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":6,"type":"Linux Package","extra":{"Checksum":"sha256:22b93584ca84cd03090ed565fe89b77072fc68381a816bd851450496e34d9cd9","Ext":".rpm","Files":[{"src":"dist/dingo_linux_amd64_v1/dingo","dst":"/usr/bin/dingo","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"rpm","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm","goos":"linux","goarch":"arm64","internal_type":6,"type":"Linux Package","extra":{"Checksum":"sha256:2a4f00fa3a77baf7072ce7d95db424ceef756ae3c63541b0321934fed2f1ed4a","Ext":".rpm","Files":[{"src":"dist/dingo_linux_arm64_v8.0/dingo","dst":"/usr/bin/dingo","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"rpm","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":6,"type":"Linux Package","extra":{"Checksum":"sha256:c1f086922c55a0214251a1eb17960cb1c80f8234ba34fb3c77ab6ec4c008facd","Ext":".apk","Files":[{"src":"dist/dingo_linux_amd64_v1/dingo","dst":"/usr/bin/dingo","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"apk","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb","goos":"linux","goarch":"arm64","internal_type":6,"type":"Linux Package","extra":{"Checksum":"sha256:913f51716e25ca4c6aa28204d78c32191754821055bf435fbb389846543ae288","Ext":".deb","Files":[{"src":"dist/dingo_linux_arm64_v8.0/dingo","dst":"/usr/bin/dingo","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"deb","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":6,"type":"Linux Package","extra":{"Checksum":"sha256:a21e42a502e738a178dba5a630cdf93d6365d6438f52cc460733e21e27032556","Ext":".deb","Files":[{"src":"dist/dingo_linux_amd64_v1/dingo","dst":"/usr/bin/dingo","file_info":{"mode":493,"mtime":"0001-01-01T00:00:00Z"}}],"Format":"deb","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:787314657e78d5458ede3411d6b34637683bdc4db8d4071070c0564b43cdf75e","ID":"package"}},{"name":"dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz.sbom.json","path":"dist/dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:57e3dd8241e961ef9a700e0de6e1c5a6923ca165850752426a28243ca8cda878","ID":"source"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:75a2a59c5e00f50238859ecfcd1b2a4640f0e5700d46cfe41d71e0600a10b35c","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:509790df382bf93391bcb38015a98f7c106c5f1576bbad87f084286fb2aaf619","ID":"package"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:a297cec2c4e772d288cda207f7dd3c10d8c2cf80daccfafb83dfae7a286dd7b3","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:1445c98d4988427ed69b5d91fc6015fec30a11781f18aef080b72e0fa24a8ec0","ID":"package"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:90968cb4b8f22f9106096024c59ae0ef77198fb291521b6532e5c929b336d47e","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:6a7ad3beaa8d529f8bb7133ad6019d51a9fc88c205192a9abab119f0677b13c7","ID":"package"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:1e21229f443ba8f4cc440dc67783e386466287ea9781d148a23db6e2dd68c20b","ID":"default"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:6a4d7d2ace009be44eae4a97b6874c6b66b663c6495aaeeb4767d0176d7916a4","ID":"package"}},{"name":"dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb.sbom.json","path":"dist/dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb.sbom.json","internal_type":25,"type":"SBOM","extra":{"Checksum":"sha256:6f0bf669f3c343535405d094dba4dbe784e39110fc3a78beee4c424ff862b418","ID":"package"}},{"name":"checksums.txt","path":"dist/checksums.txt","internal_type":12,"type":"Checksum","extra":{}},{"name":"dingo.rb","path":"dist/homebrew/dingo.rb","internal_type":16,"type":"Brew Tap","extra":{"BrewConfig":{"name":"dingo","repository":{"owner":"blinklabs-io","name":"homebrew-cardano","git":{},"pull_request":{"enabled":true,"base":{}}},"commit_author":{"name":"goreleaserbot","email":"bot@goreleaser.com"},"commit_msg_template":"Brew formula update for {{ .ProjectName }} version {{ .Tag }}","description":"Dingo is a Cardano data node written in Go","homepage":"{{.GitURL}}","goarm":"6","goamd64":"v1"}}},{"name":"ghcr.io/blinklabs-io/dingo:0.5.0-SNAPSHOT-d9431e4-arm64v8","path":"ghcr.io/blinklabs-io/dingo:0.5.0-SNAPSHOT-d9431e4-arm64v8","goos":"linux","goarch":"arm64","goarm":"6","internal_type":9,"type":"Docker Image","extra":{"DockerConfig":{"id":"arm64","goos":"linux","goarch":"arm64","goarm":"6","goamd64":"v1","dockerfile":"Dockerfile","image_templates":["ghcr.io/blinklabs-io/dingo:{{ .Version }}-arm64v8","blinklabs/dingo:{{ .Version }}-arm64"],"build_flag_templates":["--pull","--label=org.opencontainers.image.created={{.Date}}","--label=org.opencontainers.image.name={{.ProjectName}}","--label=org.opencontainers.image.revision={{.FullCommit}}","--label=org.opencontainers.image.version={{.Version}}","--label=org.opencontainers.image.source={{.GitURL}}","--platform=linux/arm64/v8"],"use":"buildx"}}},{"name":"blinklabs/dingo:0.5.0-SNAPSHOT-d9431e4-arm64","path":"blinklabs/dingo:0.5.0-SNAPSHOT-d9431e4-arm64","goos":"linux","goarch":"arm64","goarm":"6","internal_type":9,"type":"Docker Image","extra":{"DockerConfig":{"id":"arm64","goos":"linux","goarch":"arm64","goarm":"6","goamd64":"v1","dockerfile":"Dockerfile","image_templates":["ghcr.io/blinklabs-io/dingo:{{ .Version }}-arm64v8","blinklabs/dingo:{{ .Version }}-arm64"],"build_flag_templates":["--pull","--label=org.opencontainers.image.created={{.Date}}","--label=org.opencontainers.image.name={{.ProjectName}}","--label=org.opencontainers.image.revision={{.FullCommit}}","--label=org.opencontainers.image.version={{.Version}}","--label=org.opencontainers.image.source={{.GitURL}}","--platform=linux/arm64/v8"],"use":"buildx"}}},{"name":"ghcr.io/blinklabs-io/dingo:0.5.0-SNAPSHOT-d9431e4-amd64","path":"ghcr.io/blinklabs-io/dingo:0.5.0-SNAPSHOT-d9431e4-amd64","goos":"linux","goarch":"amd64","goarm":"6","internal_type":9,"type":"Docker Image","extra":{"DockerConfig":{"id":"amd64","goos":"linux","goarch":"amd64","goarm":"6","goamd64":"v1","dockerfile":"Dockerfile","image_templates":["ghcr.io/blinklabs-io/dingo:{{ .Version }}-amd64","blinklabs/dingo:{{ .Version }}-amd64"],"build_flag_templates":["--pull","--label=org.opencontainers.image.created={{.Date}}","--label=org.opencontainers.image.name={{.ProjectName}}","--label=org.opencontainers.image.revision={{.FullCommit}}","--label=org.opencontainers.image.version={{.Version}}","--label=org.opencontainers.image.source={{.GitURL}}","--platform=linux/amd64"],"use":"buildx"}}},{"name":"blinklabs/dingo:0.5.0-SNAPSHOT-d9431e4-amd64","path":"blinklabs/dingo:0.5.0-SNAPSHOT-d9431e4-amd64","goos":"linux","goarch":"amd64","goarm":"6","internal_type":9,"type":"Docker Image","extra":{"DockerConfig":{"id":"amd64","goos":"linux","goarch":"amd64","goarm":"6","goamd64":"v1","dockerfile":"Dockerfile","image_templates":["ghcr.io/blinklabs-io/dingo:{{ .Version }}-amd64","blinklabs/dingo:{{ .Version }}-amd64"],"build_flag_templates":["--pull","--label=org.opencontainers.image.created={{.Date}}","--label=org.opencontainers.image.name={{.ProjectName}}","--label=org.opencontainers.image.revision={{.FullCommit}}","--label=org.opencontainers.image.version={{.Version}}","--label=org.opencontainers.image.source={{.GitURL}}","--platform=linux/amd64"],"use":"buildx"}}}]
|
package/dist/checksums.txt
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
0a14ca3f064209e429aa1788f319f7472244d0e30456c36d505a16242ccc7dcc dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz
|
|
2
|
-
57e3dd8241e961ef9a700e0de6e1c5a6923ca165850752426a28243ca8cda878 dingo-0.5.0-SNAPSHOT-d9431e4.tar.gz.sbom.json
|
|
3
|
-
c51a06b85b0fb53ea5149152dbc5b7f77423eec9a3ca4230be2ef34d48aef2a5 dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz
|
|
4
|
-
75a2a59c5e00f50238859ecfcd1b2a4640f0e5700d46cfe41d71e0600a10b35c dingo_0.5.0-SNAPSHOT-d9431e4_darwin_arm64.tar.gz.sbom.json
|
|
5
|
-
8a9a2d9d1dda0c5302cf01f2017f7b0f235f9a5b37df253410a3951630a99147 dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz
|
|
6
|
-
90968cb4b8f22f9106096024c59ae0ef77198fb291521b6532e5c929b336d47e dingo_0.5.0-SNAPSHOT-d9431e4_darwin_x86_64.tar.gz.sbom.json
|
|
7
|
-
c1f086922c55a0214251a1eb17960cb1c80f8234ba34fb3c77ab6ec4c008facd dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk
|
|
8
|
-
6a7ad3beaa8d529f8bb7133ad6019d51a9fc88c205192a9abab119f0677b13c7 dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.apk.sbom.json
|
|
9
|
-
a21e42a502e738a178dba5a630cdf93d6365d6438f52cc460733e21e27032556 dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb
|
|
10
|
-
6f0bf669f3c343535405d094dba4dbe784e39110fc3a78beee4c424ff862b418 dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.deb.sbom.json
|
|
11
|
-
22b93584ca84cd03090ed565fe89b77072fc68381a816bd851450496e34d9cd9 dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm
|
|
12
|
-
509790df382bf93391bcb38015a98f7c106c5f1576bbad87f084286fb2aaf619 dingo_0.5.0-SNAPSHOT-d9431e4_linux_amd64.rpm.sbom.json
|
|
13
|
-
0fd9e95abafb1d950da2d99813b71d40fc67697c86b063e99d6e43500aaf3afa dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk
|
|
14
|
-
787314657e78d5458ede3411d6b34637683bdc4db8d4071070c0564b43cdf75e dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.apk.sbom.json
|
|
15
|
-
913f51716e25ca4c6aa28204d78c32191754821055bf435fbb389846543ae288 dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb
|
|
16
|
-
6a4d7d2ace009be44eae4a97b6874c6b66b663c6495aaeeb4767d0176d7916a4 dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.deb.sbom.json
|
|
17
|
-
2a4f00fa3a77baf7072ce7d95db424ceef756ae3c63541b0321934fed2f1ed4a dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm
|
|
18
|
-
1445c98d4988427ed69b5d91fc6015fec30a11781f18aef080b72e0fa24a8ec0 dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.rpm.sbom.json
|
|
19
|
-
87f24431d51ff63f0fe1e4f826ed63830a3ba83cf34342371332380cb025e78c dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz
|
|
20
|
-
a297cec2c4e772d288cda207f7dd3c10d8c2cf80daccfafb83dfae7a286dd7b3 dingo_0.5.0-SNAPSHOT-d9431e4_linux_arm64.tar.gz.sbom.json
|
|
21
|
-
10a54437219ae7a105c57f2e5727bf58ad070815c7548081980b52505902d3a3 dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz
|
|
22
|
-
1e21229f443ba8f4cc440dc67783e386466287ea9781d148a23db6e2dd68c20b dingo_0.5.0-SNAPSHOT-d9431e4_linux_x86_64.tar.gz.sbom.json
|
package/dist/config.yaml
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
project_name: dingo
|
|
3
|
-
release:
|
|
4
|
-
github:
|
|
5
|
-
owner: blinklabs-io
|
|
6
|
-
name: dingo
|
|
7
|
-
name_template: '{{.Tag}}'
|
|
8
|
-
footer: |2-
|
|
9
|
-
---
|
|
10
|
-
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
|
|
11
|
-
brews:
|
|
12
|
-
- name: dingo
|
|
13
|
-
repository:
|
|
14
|
-
owner: blinklabs-io
|
|
15
|
-
name: homebrew-cardano
|
|
16
|
-
pull_request:
|
|
17
|
-
enabled: true
|
|
18
|
-
commit_author:
|
|
19
|
-
name: goreleaserbot
|
|
20
|
-
email: bot@goreleaser.com
|
|
21
|
-
commit_msg_template: Brew formula update for {{ .ProjectName }} version {{ .Tag }}
|
|
22
|
-
description: Dingo is a Cardano data node written in Go
|
|
23
|
-
homepage: '{{.GitURL}}'
|
|
24
|
-
goarm: "6"
|
|
25
|
-
goamd64: v1
|
|
26
|
-
builds:
|
|
27
|
-
- id: dingo
|
|
28
|
-
goos:
|
|
29
|
-
- linux
|
|
30
|
-
- darwin
|
|
31
|
-
goarch:
|
|
32
|
-
- amd64
|
|
33
|
-
- arm64
|
|
34
|
-
goamd64:
|
|
35
|
-
- v1
|
|
36
|
-
go386:
|
|
37
|
-
- sse2
|
|
38
|
-
goarm:
|
|
39
|
-
- "6"
|
|
40
|
-
goarm64:
|
|
41
|
-
- v8.0
|
|
42
|
-
gomips:
|
|
43
|
-
- hardfloat
|
|
44
|
-
goppc64:
|
|
45
|
-
- power8
|
|
46
|
-
goriscv64:
|
|
47
|
-
- rva20u64
|
|
48
|
-
targets:
|
|
49
|
-
- linux_amd64_v1
|
|
50
|
-
- linux_arm64_v8.0
|
|
51
|
-
- darwin_amd64_v1
|
|
52
|
-
- darwin_arm64_v8.0
|
|
53
|
-
dir: .
|
|
54
|
-
main: ./cmd/dingo
|
|
55
|
-
binary: dingo
|
|
56
|
-
builder: go
|
|
57
|
-
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
58
|
-
tool: go
|
|
59
|
-
command: build
|
|
60
|
-
ldflags:
|
|
61
|
-
- -s -w -X github.com/blinklabs-io/dingo/internal/version.Version={{.Version}} -X github.com/blinklabs-io/dingo/internal/version.CommitHash={{.Commit}}
|
|
62
|
-
flags:
|
|
63
|
-
- -trimpath
|
|
64
|
-
env:
|
|
65
|
-
- CGO_ENABLED=0
|
|
66
|
-
archives:
|
|
67
|
-
- id: default
|
|
68
|
-
builds_info:
|
|
69
|
-
mode: 493
|
|
70
|
-
name_template: '{{ .ProjectName }}_{{ .Version }}_ {{- if eq .Os "Darwin" }}darwin_ {{- else if eq .Os "Windows" }}windows_ {{- else }}{{ .Os }}_{{ end }} {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}'
|
|
71
|
-
formats:
|
|
72
|
-
- tar.gz
|
|
73
|
-
format_overrides:
|
|
74
|
-
- goos: windows
|
|
75
|
-
formats:
|
|
76
|
-
- zip
|
|
77
|
-
files:
|
|
78
|
-
- src: license*
|
|
79
|
-
- src: LICENSE*
|
|
80
|
-
- src: readme*
|
|
81
|
-
- src: README*
|
|
82
|
-
- src: changelog*
|
|
83
|
-
- src: CHANGELOG*
|
|
84
|
-
nfpms:
|
|
85
|
-
- file_name_template: '{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
|
86
|
-
package_name: dingo
|
|
87
|
-
id: default
|
|
88
|
-
formats:
|
|
89
|
-
- apk
|
|
90
|
-
- deb
|
|
91
|
-
- rpm
|
|
92
|
-
maintainer: Blink Labs Software <support@blinklabs.io>
|
|
93
|
-
bindir: /usr/bin
|
|
94
|
-
libdirs:
|
|
95
|
-
header: /usr/include
|
|
96
|
-
carchive: /usr/lib
|
|
97
|
-
cshared: /usr/lib
|
|
98
|
-
snapshot:
|
|
99
|
-
version_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}'
|
|
100
|
-
checksum:
|
|
101
|
-
name_template: checksums.txt
|
|
102
|
-
algorithm: sha256
|
|
103
|
-
dockers:
|
|
104
|
-
- id: amd64
|
|
105
|
-
goos: linux
|
|
106
|
-
goarch: amd64
|
|
107
|
-
goarm: "6"
|
|
108
|
-
goamd64: v1
|
|
109
|
-
dockerfile: Dockerfile
|
|
110
|
-
image_templates:
|
|
111
|
-
- ghcr.io/blinklabs-io/dingo:{{ .Version }}-amd64
|
|
112
|
-
- blinklabs/dingo:{{ .Version }}-amd64
|
|
113
|
-
build_flag_templates:
|
|
114
|
-
- --pull
|
|
115
|
-
- --label=org.opencontainers.image.created={{.Date}}
|
|
116
|
-
- --label=org.opencontainers.image.name={{.ProjectName}}
|
|
117
|
-
- --label=org.opencontainers.image.revision={{.FullCommit}}
|
|
118
|
-
- --label=org.opencontainers.image.version={{.Version}}
|
|
119
|
-
- --label=org.opencontainers.image.source={{.GitURL}}
|
|
120
|
-
- --platform=linux/amd64
|
|
121
|
-
use: buildx
|
|
122
|
-
- id: arm64
|
|
123
|
-
goos: linux
|
|
124
|
-
goarch: arm64
|
|
125
|
-
goarm: "6"
|
|
126
|
-
goamd64: v1
|
|
127
|
-
dockerfile: Dockerfile
|
|
128
|
-
image_templates:
|
|
129
|
-
- ghcr.io/blinklabs-io/dingo:{{ .Version }}-arm64v8
|
|
130
|
-
- blinklabs/dingo:{{ .Version }}-arm64
|
|
131
|
-
build_flag_templates:
|
|
132
|
-
- --pull
|
|
133
|
-
- --label=org.opencontainers.image.created={{.Date}}
|
|
134
|
-
- --label=org.opencontainers.image.name={{.ProjectName}}
|
|
135
|
-
- --label=org.opencontainers.image.revision={{.FullCommit}}
|
|
136
|
-
- --label=org.opencontainers.image.version={{.Version}}
|
|
137
|
-
- --label=org.opencontainers.image.source={{.GitURL}}
|
|
138
|
-
- --platform=linux/arm64/v8
|
|
139
|
-
use: buildx
|
|
140
|
-
docker_manifests:
|
|
141
|
-
- name_template: ghcr.io/blinklabs-io/dingo:{{ .Version }}
|
|
142
|
-
image_templates:
|
|
143
|
-
- ghcr.io/blinklabs-io/dingo:{{ .Version }}-amd64
|
|
144
|
-
- ghcr.io/blinklabs-io/dingo:{{ .Version }}-arm64v8
|
|
145
|
-
use: docker
|
|
146
|
-
- name_template: blinklabs/dingo:{{ .Version }}
|
|
147
|
-
image_templates:
|
|
148
|
-
- blinklabs-io/dingo:{{ .Version }}-amd64
|
|
149
|
-
- blinklabs-io/dingo:{{ .Version }}-arm64v8
|
|
150
|
-
use: docker
|
|
151
|
-
changelog:
|
|
152
|
-
use: github-native
|
|
153
|
-
format: '{{ .SHA }}: {{ .Message }} ({{ with .AuthorUsername }}@{{ . }}{{ else }}{{ .AuthorName }} <{{ .AuthorEmail }}>{{ end }})'
|
|
154
|
-
dist: dist
|
|
155
|
-
env_files:
|
|
156
|
-
github_token: ~/.config/goreleaser/github_token
|
|
157
|
-
gitlab_token: ~/.config/goreleaser/gitlab_token
|
|
158
|
-
gitea_token: ~/.config/goreleaser/gitea_token
|
|
159
|
-
before:
|
|
160
|
-
hooks:
|
|
161
|
-
- go mod tidy
|
|
162
|
-
source:
|
|
163
|
-
name_template: '{{ .ProjectName }}-{{ .Version }}'
|
|
164
|
-
format: tar.gz
|
|
165
|
-
enabled: true
|
|
166
|
-
gomod:
|
|
167
|
-
proxy: true
|
|
168
|
-
gobinary: go
|
|
169
|
-
announce:
|
|
170
|
-
twitter:
|
|
171
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
172
|
-
mastodon:
|
|
173
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
174
|
-
server: ""
|
|
175
|
-
reddit:
|
|
176
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
177
|
-
url_template: '{{ .ReleaseURL }}'
|
|
178
|
-
slack:
|
|
179
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
180
|
-
username: GoReleaser
|
|
181
|
-
discord:
|
|
182
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
183
|
-
author: GoReleaser
|
|
184
|
-
color: "3888754"
|
|
185
|
-
icon_url: https://goreleaser.com/static/avatar.png
|
|
186
|
-
teams:
|
|
187
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
188
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
189
|
-
color: '#2D313E'
|
|
190
|
-
icon_url: https://goreleaser.com/static/avatar.png
|
|
191
|
-
smtp:
|
|
192
|
-
subject_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
193
|
-
body_template: 'You can view details from: {{ .ReleaseURL }}'
|
|
194
|
-
mattermost:
|
|
195
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
196
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
197
|
-
username: GoReleaser
|
|
198
|
-
linkedin:
|
|
199
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
200
|
-
telegram:
|
|
201
|
-
message_template: '{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out{{ mdv2escape "!" }} Check it out at {{ mdv2escape .ReleaseURL }}'
|
|
202
|
-
parse_mode: MarkdownV2
|
|
203
|
-
webhook:
|
|
204
|
-
message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}'
|
|
205
|
-
content_type: application/json; charset=utf-8
|
|
206
|
-
expected_status_codes:
|
|
207
|
-
- 200
|
|
208
|
-
- 201
|
|
209
|
-
- 202
|
|
210
|
-
- 204
|
|
211
|
-
opencollective:
|
|
212
|
-
title_template: '{{ .Tag }}'
|
|
213
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out!<br/>Check it out at <a href="{{ .ReleaseURL }}">{{ .ReleaseURL }}</a>'
|
|
214
|
-
bluesky:
|
|
215
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
216
|
-
sboms:
|
|
217
|
-
- id: default
|
|
218
|
-
cmd: syft
|
|
219
|
-
env:
|
|
220
|
-
- SYFT_FILE_METADATA_CATALOGER_ENABLED=true
|
|
221
|
-
args:
|
|
222
|
-
- $artifact
|
|
223
|
-
- --output
|
|
224
|
-
- spdx-json=$document
|
|
225
|
-
documents:
|
|
226
|
-
- '{{ .ArtifactName }}.sbom.json'
|
|
227
|
-
artifacts: archive
|
|
228
|
-
- id: source
|
|
229
|
-
cmd: syft
|
|
230
|
-
env:
|
|
231
|
-
- SYFT_FILE_METADATA_CATALOGER_ENABLED=true
|
|
232
|
-
args:
|
|
233
|
-
- $artifact
|
|
234
|
-
- --output
|
|
235
|
-
- spdx-json=$document
|
|
236
|
-
documents:
|
|
237
|
-
- '{{ .ArtifactName }}.sbom.json'
|
|
238
|
-
artifacts: source
|
|
239
|
-
- id: package
|
|
240
|
-
cmd: syft
|
|
241
|
-
args:
|
|
242
|
-
- $artifact
|
|
243
|
-
- --output
|
|
244
|
-
- spdx-json=$document
|
|
245
|
-
documents:
|
|
246
|
-
- '{{ .ArtifactName }}.sbom.json'
|
|
247
|
-
artifacts: package
|
|
248
|
-
git:
|
|
249
|
-
tag_sort: -version:refname
|
|
250
|
-
github_urls:
|
|
251
|
-
download: https://github.com
|
|
252
|
-
gitlab_urls:
|
|
253
|
-
download: https://gitlab.com
|
|
Binary file
|