-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fixes #142 Configure golang-ci and run it in Travis builds #165
Fixes #142 Configure golang-ci and run it in Travis builds #165
Commits on Oct 10, 2019
-
[Makefile] refs fibercrypto#142 Added target to call sentence `make l…
…int`
Maykel Arias Torres committedOct 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 28e4854 - Browse repository at this point
Copy the full SHA 28e4854View commit details -
[travis] refs fibercrypto#142 Added file to conf golangci
Maykel Arias Torres committedOct 10, 2019 Configuration menu - View commit details
-
Copy full SHA for ec48814 - Browse repository at this point
Copy the full SHA ec48814View commit details -
[travis] refs fibercrypto#142 Added
make lint
inscript
Maykel Arias Torres committedOct 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 7eb6363 - Browse repository at this point
Copy the full SHA 7eb6363View commit details -
[Makefile] refs fibercrypto#142 Added target
make install-linters
Maykel Arias Torres committedOct 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 0a10d68 - Browse repository at this point
Copy the full SHA 0a10d68View commit details -
[Travis] refs fibercrypto#142 Added in step in matrix `make install-l…
…inters`
Maykel Arias Torres committedOct 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 434e93b - Browse repository at this point
Copy the full SHA 434e93bView commit details
Commits on Oct 11, 2019
-
[Makefile] refs fibercrypto#142 Enable only checking `make lint golan…
…gci-lint`
Maykel Arias Torres committedOct 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 17261f8 - Browse repository at this point
Copy the full SHA 17261f8View commit details -
[Makefile] refs fibercrypto#142 Added in travis vendorcheck ./...
# src needs separate linting rules golangci-lint run -c .golangci.yml ./src/... src/coin/skycoin/models/wallet.go:530:24: `neccesary` is a misspelling of `necessary` (misspell) //Checking if all the neccesary addresses exists ^ src/main/config.go:96: G104: Errors unhandled. (gosec) jsonFormat, _ := json.Marshal(cm.getConfigManagerJson()) src/main/config.go:171: G304: Potential file inclusion via variable (gosec) dat, err := ioutil.ReadFile(fileDir) src/main/config.go:199: G104: Errors unhandled. (gosec) jsonFormat, _ := json.Marshal(cm.getConfigManagerJson()) src/main/config.go:201: G104: Errors unhandled. (gosec) os.MkdirAll(filepath.Dir(getConfigFileDir()), 0755) src/coin/skycoin/models/account.go:198:6: ineffectual assignment to `err` (ineffassign) bl, err := getBalanceOfAddresses(outs, addrs) ^ src/coin/skycoin/models/wallet.go:744:7: ineffectual assignment to `err` (ineffassign) pwd, err := password("Insert Password") ^ src/models/qtransaction.go:78:13: ineffectual assignment to `err` (ineffassign) quotient, err := util.AltcoinQuotient("SKY") ^ src/models/walletsManager.go:493:2: ineffectual assignment to `accuracy` (ineffassign) accuracy, _ = util.AltcoinQuotient(skycoin.SkycoinTicker) ^ src/coin/skycoin/models/account.go:22:34: Error return value of `(github.com/fibercrypto/FiberCryptoWallet/src/core.MultiPool).Return` is not checked (errcheck) defer core.GetMultiPool().Return(PoolSection, c) ^ src/coin/skycoin/models/account.go:46:34: Error return value of `(github.com/fibercrypto/FiberCryptoWallet/src/core.MultiPool).Return` is not checked (errcheck) defer core.GetMultiPool().Return(PoolSection, c) ^ src/coin/skycoin/models/account.go:77:34: Error return value of `(github.com/fibercrypto/FiberCryptoWallet/src/core.MultiPool).Return` is not checked (errcheck) defer core.GetMultiPool().Return(PoolSection, c) ^ src/models/address/address.go:73:47: invalid operation: al (variable of type *AddressList) has no field or method Addresses (typecheck) if !index.IsValid() || index.Row() >= len(al.Addresses()) { ^ src/models/address/address.go:77:16: invalid operation: al (variable of type *AddressList) has no field or method Addresses (typecheck) address := al.Addresses()[index.Row()] ^ src/models/address/address.go:68:5: invalid operation: al (variable of type *AddressList) has no field or method SetAddresses (typecheck) al.SetAddresses(append(al.Addresses()[:index], al.Addresses()[index+1:]...)) ^ src/models/history/historyManager.go:57:48: invalid operation: a[i] (variable of type *github.com/fibercrypto/FiberCryptoWallet/src/models/transactions.TransactionDetails) has no field or method Date (typecheck) d1, _ := time.Parse(dateTimeFormatForGo, a[i].Date().ToString(dateTimeFormatForQML)) ^ src/models/history/historyManager.go:58:48: invalid operation: a[j] (variable of type *github.com/fibercrypto/FiberCryptoWallet/src/models/transactions.TransactionDetails) has no field or method Date (typecheck) d2, _ := time.Parse(dateTimeFormatForGo, a[j].Date().ToString(dateTimeFormatForQML)) ^ src/models/history/historyManager.go:101:30: NewTransactionDetails not declared by package transactions (typecheck) txnDetails := transactions.NewTransactionDetails(nil) ^ src/models/history/history.go:137:54: invalid operation: hm (variable of type *TransactionList) has no field or method Transactions (typecheck) hm.BeginRemoveRows(core.NewQModelIndex(), 0, len(hm.Transactions())-1) ^ src/models/history/history.go:138:5: invalid operation: hm (variable of type *TransactionList) has no field or method SetTransactions (typecheck) hm.SetTransactions(make([]*transactions.TransactionDetails, 0)) ^ src/models/history/history.go:72:47: invalid operation: hm (variable of type *TransactionList) has no field or method Transactions (typecheck) if !index.IsValid() || index.Row() >= len(hm.Transactions()) { ^ src/models/pending/PendingModel.go:91:8: undeclared name: NewPendingTransaction (typecheck) pt := NewPendingTransaction(nil) ^ src/models/pending/PendingModel.go:82:13: invalid operation: ptModel (variable of type *PendingTransaction) has no field or method SetMine (typecheck) ptModel.SetMine(1) ^ src/models/pending/PendingModel.go:87:4: invalid operation: m (variable of type *PendingTransactionList) has no field or method SetTransactions (typecheck) m.SetTransactions(ptModels) ^ src/models/pending/Pending.go:4:2: undeclared name: PendingTransactionList_QmlRegisterType2 (typecheck) PendingTransactionList_QmlRegisterType2("PendingModels", 1, 0, "QPendingList") ^ src/models/pending/Pending.go:5:2: undeclared name: PendingTransaction_QmlRegisterType2 (typecheck) PendingTransaction_QmlRegisterType2("PendingModels", 1, 0, "QPendingTransaction") ^ src/models/transactions/transactions.go:9:2: undeclared name: TransactionDetails_QmlRegisterType2 (typecheck) TransactionDetails_QmlRegisterType2("HistoryModels", 1, 0, "QTransactionDetail") ^ src/models/walletsModel.go:156:4: invalid operation: m (variable of type *WalletModel) has no field or method SetWallets (typecheck) m.SetWallets(wallets) ^ src/models/walletsModel.go:159:4: invalid operation: m (variable of type *WalletModel) has no field or method SetCount (typecheck) m.SetCount(len(m.Wallets())) ^ src/models/walletsModel.go:145:4: invalid operation: m (variable of type *WalletModel) has no field or method SetWallets (typecheck) m.SetWallets(append(m.Wallets()[:row], m.Wallets()[row+1:]...)) ^ src/models/walletsManager.go:471:13: undeclared name: NewQWallet (typecheck) qWallet := NewQWallet(nil) ^ src/models/qtransaction.go:22:10: undeclared name: NewQTransaction (typecheck) qtxn := NewQTransaction(nil) ^ src/models/qtransaction.go:25:20: NewAddressList not declared by package address (typecheck) inputs := address.NewAddressList(nil) ^ src/models/qtransaction.go:26:21: NewAddressList not declared by package address (typecheck) outputs := address.NewAddressList(nil) ^ src/models/networkingModel.go:160:7: undeclared name: NewQNetworking (typecheck) q := NewQNetworking(nil) ^ src/models/networkingModel.go:156:11: invalid operation: netModel (variable of type *NetworkingModel) has no field or method SetCount (typecheck) netModel.SetCount(len(netModel.Networks())) ^ src/models/networkingModel.go:149:11: invalid operation: netModel (variable of type *NetworkingModel) has no field or method SetNetworks (typecheck) netModel.SetNetworks(append(netModel.Networks()[:row], netModel.Networks()[row+1:]...)) ^ src/models/networkingManager.go:17:6: invalid operation: net (variable of type *NetworkingManager) has no field or method ConnectGetNetworks (typecheck) net.ConnectGetNetworks(net.getNetworks) ^ src/models/networking.go:4:2: undeclared name: NetworkingModel_QmlRegisterType2 (typecheck) NetworkingModel_QmlRegisterType2("NetworkingManager", 1, 0, "NetworkingModel") ^ src/models/networking.go:5:2: undeclared name: QNetworking_QmlRegisterType2 (typecheck) QNetworking_QmlRegisterType2("NetworkingManager", 1, 0, "QNetworking") ^ src/models/networking.go:6:2: undeclared name: NetworkingManager_QmlRegisterType2 (typecheck) NetworkingManager_QmlRegisterType2("NetworkingManager", 1, 0, "NetworkManager") ^ src/models/modelsManager.go:33:15: undeclared name: NewAddressesModel (typecheck) addrModel = NewAddressesModel(nil) ^ src/models/modelsManager.go:19:5: invalid operation: mm (variable of type *ModelManager) has no field or method ConnectSetWalletManager (typecheck) mm.ConnectSetWalletManager(mm.setWalletManager) ^ src/models/modelsManager.go:20:5: invalid operation: mm (variable of type *ModelManager) has no field or method ConnectGetAddressModel (typecheck) mm.ConnectGetAddressModel(mm.getAddressModel) ^ src/models/walletsManager.go:439:15: undeclared name: NewQAddress (typecheck) qAddress := NewQAddress(nil) ^ src/models/walletsManager.go:232:12: undeclared name: NewQOutput (typecheck) qout := NewQOutput(nil) ^ src/models/models.go:4:2: undeclared name: BlockchainStatusModel_QmlRegisterType2 (typecheck) BlockchainStatusModel_QmlRegisterType2("BlockchainModels", 1, 0, "BlockchainStatusModel") ^ src/models/models.go:5:2: undeclared name: WalletModel_QmlRegisterType2 (typecheck) WalletModel_QmlRegisterType2("WalletsManager", 1, 0, "WalletModel") ^ src/models/models.go:6:2: undeclared name: QWallet_QmlRegisterType2 (typecheck) QWallet_QmlRegisterType2("WalletsManager", 1, 0, "QWallet") ^ src/models/modelWallets.go:144:4: invalid operation: m (variable of type *ModelWallets) has no field or method SetAddresses (typecheck) m.SetAddresses(ma) ^ src/models/modelWallets.go:145:21: invalid operation: m (variable of type *ModelWallets) has no field or method Addresses (typecheck) m.insertRows(len(m.Addresses()), len(ma)) ^ src/models/modelWallets.go:103:9: undeclared name: NewModelAddresses (typecheck) ma := NewModelAddresses(nil) ^ src/models/modelAddresses.go:78:4: invalid operation: m (variable of type *ModelAddresses) has no field or method SetOutputs (typecheck) m.SetOutputs(mo) ^ src/models/modelAddresses.go:79:21: invalid operation: m (variable of type *ModelAddresses) has no field or method Outputs (typecheck) m.insertRows(len(m.Outputs()), len(mo)) ^ src/models/modelAddresses.go:49:26: invalid operation: m (variable of type *ModelAddresses) has no field or method Outputs (typecheck) if index.Row() >= len(m.Outputs()) { ^ src/models/modelOutputs.go:156:4: invalid operation: m (variable of type *ModelOutputs) has no field or method SetOutputs (typecheck) m.SetOutputs(make([]*QOutput, 0)) ^ src/models/modelOutputs.go:150:4: invalid operation: m (variable of type *ModelOutputs) has no field or method SetOutputs (typecheck) m.SetOutputs(mo) ^ src/models/modelOutputs.go:143:49: invalid operation: m (variable of type *ModelOutputs) has no field or method Outputs (typecheck) m.BeginInsertRows(core.NewQModelIndex(), len(m.Outputs()), len(m.Outputs())+len(mo)-1) ^ src/models/config.go:72:19: undeclared name: NewWalletSource (typecheck) newWltSource := NewWalletSource(nil) ^ src/models/config.go:31:5: invalid operation: cm (variable of type *ConfigManager) has no field or method ConnectGetSources (typecheck) cm.ConnectGetSources(cm.getSources) ^ src/models/config.go:32:5: invalid operation: cm (variable of type *ConfigManager) has no field or method ConnectGetNodeString (typecheck) cm.ConnectGetNodeString(cm.getNodeString) ^ src/models/blockchainModels.go:94:5: invalid operation: bs (variable of type *BlockchainStatusModel) has no field or method SetNumberOfBlocks (typecheck) bs.SetNumberOfBlocks(strconv.FormatUint(numberOfBlocks, 10)) ^ src/coin/skycoin/models/blockchain.go:78:2: `lastTimeStatusRequested` is unused (structcheck) lastTimeStatusRequested uint64 ^ src/coin/skycoin/models/account.go:14: File is not `goimports`-ed (goimports) ) src/coin/skycoin/models/coin.go:8: File is not `goimports`-ed (goimports) "github.com/skycoin/skycoin/src/cipher" src/coin/skycoin/params/params.go:27: File is not `goimports`-ed (goimports) CalculatedHoursName = "Calculated Hours" Makefile:35: recipe for target 'lint' failed in Windows
Maykel Arias Torres committedOct 11, 2019 Configuration menu - View commit details
-
Copy full SHA for eaa88a2 - Browse repository at this point
Copy the full SHA eaa88a2View commit details
Commits on Oct 13, 2019
-
[vendor] refs fibercrypto#142 Tryninng vendor
Maykel Arias Torres committedOct 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 024283c - Browse repository at this point
Copy the full SHA 024283cView commit details -
[vendor] refs fibercrypto#142 Remove vendor
Maykel Arias Torres committedOct 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 796afc5 - Browse repository at this point
Copy the full SHA 796afc5View commit details -
[gitignire] refs fibercrypto#142 Restore conf
Maykel Arias Torres committedOct 13, 2019 Configuration menu - View commit details
-
Copy full SHA for af37462 - Browse repository at this point
Copy the full SHA af37462View commit details -
refs fibercrypto#142 Merge branch 'develop' of https://github.com/fi…
…bercrypto/FiberCryptoWallet into stdevHan_t142_make_lint
Maykel Arias Torres committedOct 13, 2019 Configuration menu - View commit details
-
Copy full SHA for b452fb4 - Browse repository at this point
Copy the full SHA b452fb4View commit details
Commits on Oct 15, 2019
-
[src] refs fibercrypto#142 FInalized
src/coin
,src/core
, `src/ut……il` and `src/main`.
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 9f80473 - Browse repository at this point
Copy the full SHA 9f80473View commit details -
refs fibercrypto#142 Merge branch 'develop' of https://github.com/fib…
…ercrypto/FiberCryptoWallet into stdevHan_t142_make_lint Conflicts: src/coin/skycoin/models/coin.go src/coin/skycoin/models/network.go src/coin/skycoin/models/wallet.go src/core/network.go
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for c123e77 - Browse repository at this point
Copy the full SHA c123e77View commit details -
[coin] refs fibercrypto#142 Correcting error the linter in coin
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 241d68b - Browse repository at this point
Copy the full SHA 241d68bView commit details -
[TravisCI] refs fibercrypto#142 Added suite test
make lint
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for cfe7da4 - Browse repository at this point
Copy the full SHA cfe7da4View commit details -
[models] refs fibercrypto#142 Added true path the ENV params in `wall…
…etsManager`
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 8f3812c - Browse repository at this point
Copy the full SHA 8f3812cView commit details -
[TravisCI] refs fibercrypto#142 Added install the
golangci
in WindowsMaykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 3b1c63e - Browse repository at this point
Copy the full SHA 3b1c63eView commit details -
[TravisCI] refs fibercrypto#142 Correcting the order of the steps for…
… the installation of golangci in Win
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for eac3692 - Browse repository at this point
Copy the full SHA eac3692View commit details -
[travis] refs fibercrypto#142 Added in script the golangci-lint suppo…
…rt to Windows
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for b457ea8 - Browse repository at this point
Copy the full SHA b457ea8View commit details -
[TravisCi] refs fibercrypto#142 Correcting declare
golangci-lint
in…… Win
Maykel Arias Torres committedOct 15, 2019 Configuration menu - View commit details
-
Copy full SHA for efdf374 - Browse repository at this point
Copy the full SHA efdf374View commit details
Commits on Oct 16, 2019
-
[TravisCI] refs fibercrypto#142 Added support make lint in Windows
Maykel Arias Torres committedOct 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 890e3d7 - Browse repository at this point
Copy the full SHA 890e3d7View commit details -
[coin] refs fibercrypto#142 Disable false positive
Maykel Arias Torres committedOct 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 6febcc1 - Browse repository at this point
Copy the full SHA 6febcc1View commit details -
[TravisCI] refs fibercrypto#142 Correcting used golangci-lint for Win…
…dows
Maykel Arias Torres committedOct 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 02713c0 - Browse repository at this point
Copy the full SHA 02713c0View commit details