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

Fix/cran status issues duplicates #53

Closed
wants to merge 119 commits into from
Closed

Fix/cran status issues duplicates #53

wants to merge 119 commits into from

Conversation

dgrassellyb
Copy link
Collaborator

No description provided.

@dgrassellyb dgrassellyb requested a review from cicdguy as a code owner January 24, 2023 08:11
@dgrassellyb dgrassellyb linked an issue Jan 24, 2023 that may be closed by this pull request
.github/actions/cran-status-extract/Dockerfile Outdated Show resolved Hide resolved
}
} else {
print(paste("ERROR ACCESSING URL=", url))
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix the styling here. Use the styler R package to fix it.

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
Rscript /app/check-status.R --status_types "${INPUT_STATUS_TYPES}"
Copy link
Collaborator

@cicdguy cicdguy Jan 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Rscript /app/check-status.R --status_types "${INPUT_STATUS_TYPES}"
Rscript /app/check-status.R --status_types "${INPUT_STATUSES}"

This will align with the input being renamed to statuses

@@ -14,12 +14,12 @@ on:
default: ''
required: false
type: string
status-types:
status_types:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to change?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe let's rename this to statuses, so that we don't have to worry about - vs _

.github/workflows/cran-status.yml Outdated Show resolved Hide resolved
)
}

build_md5_codes <- function(pkg, errors, step) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename this to compute_md5_hash

@@ -14,12 +14,12 @@ on:
default: ''
required: false
type: string
status-types:
status_types:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe let's rename this to statuses, so that we don't have to worry about - vs _

.github/workflows/cran-status.yml Outdated Show resolved Hide resolved
.github/workflows/cran-status.yml Outdated Show resolved Hide resolved
.github/workflows/cran-status.yml Outdated Show resolved Hide resolved
.github/workflows/cran-status.yml Outdated Show resolved Hide resolved
.github/actions/cran-status-extract/action.yml Outdated Show resolved Hide resolved
.github/actions/cran-status-extract/check-status.R Outdated Show resolved Hide resolved
.github/actions/cran-status-extract/check-status.R Outdated Show resolved Hide resolved
.github/actions/cran-status-extract/check-status.R Outdated Show resolved Hide resolved
.github/actions/cran-status-extract/check-status.R Outdated Show resolved Hide resolved
.github/actions/cran-status-extract/entrypoint.sh Outdated Show resolved Hide resolved
.github/workflows/cran-status.yml Outdated Show resolved Hide resolved
@cicdguy
Copy link
Collaborator

cicdguy commented Jan 27, 2023

Closing

@cicdguy cicdguy closed this Jan 27, 2023
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.

CRAN Status Check (create only one issue)
2 participants