-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change name of integration tests to e2e * linting - Static checks * linting - golangci-lint * linting - gosec * linting - update dependencies * Add report card fixes * Bump version
- Loading branch information
1 parent
af91d9e
commit a8139ef
Showing
24 changed files
with
501 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ have done each day. | |
|
||
## Supported versions | ||
|
||
- v0.5.10 | ||
- v0.5.11 | ||
|
||
## Installation | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package integration | ||
package e2e | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package integration | ||
package e2e | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package integration | ||
package e2e | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package integration | ||
package e2e | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package integration | ||
package e2e | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
package errors | ||
|
||
// ConfigureArgsMinimum error value when not enough args | ||
const ConfigureArgsMinimum = "overrideDefaults requires at least one argument" | ||
|
||
// EditID error value when requires an ID | ||
const EditID = "edit requires a single ID of an existing worklog" | ||
|
||
const PrintID = "No ids provided" | ||
// PrintID error value when requires an ID | ||
const PrintID = "no ids provided" | ||
|
||
// PrintArgsMinimum error value when not enough args | ||
const PrintArgsMinimum = "one flag is required" | ||
|
||
// Format error value when wrong format | ||
const Format = "format is not valid" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
package errors | ||
|
||
const Unexpected = "An unexpected error occurred" | ||
|
||
const ( | ||
RepoCreateDirectory = "Unable to create directory" | ||
RepoCreateFile = "unable to create file" | ||
RepoConfigFileCreate = "unable to create configuration file" | ||
RepoConfigFileSave = "unable to save config" | ||
RepoSaveFile = "unable to save worklog" | ||
) | ||
|
||
const ( | ||
RepoGetFiles = "unable to get all files" | ||
RepoGetFilesRead = "error reading file" | ||
) | ||
// Unexpected error value when unexpected error happens | ||
const Unexpected = "an unexpected error occurred" | ||
|
||
// RepoCreateDirectory error value when creating directory | ||
const RepoCreateDirectory = "unable to create directory" | ||
|
||
// RepoCreateFile error value when creating file | ||
const RepoCreateFile = "unable to create file" | ||
|
||
// RepoConfigFileCreate error value when creating config file | ||
const RepoConfigFileCreate = "unable to create configuration file" | ||
|
||
// RepoConfigFileSave error value when saving config to file | ||
const RepoConfigFileSave = "unable to save config" | ||
|
||
// RepoSaveFile error value when saving file | ||
const RepoSaveFile = "unable to save worklog" | ||
|
||
// RepoGetFiles error value when getting file | ||
const RepoGetFiles = "unable to get all files" | ||
|
||
//RepoGetFilesRead error value when parsing file | ||
const RepoGetFilesRead = "error reading file" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.