Skip to content

Conversation

@dacbd
Copy link
Contributor

@dacbd dacbd commented Sep 22, 2021

I added a simple sanity log to assist with any future debugging or inspection in GitHub action logs.

I believe that most users especially when constructing their initial tooling aren't pinning the version of CML to install.
My reasoning for this addition comes from the recent release of CML 0.7.0 -> 0.7.1, there was a discussion on discord about an error the was patched, I encountered a nearly identical error and wanted to be certain what the latest version was...

example output:
example-test

@dacbd
Copy link
Contributor Author

dacbd commented Sep 22, 2021

Looks like versions of CML do not support --version I will amend the PR to support this condition.

@DavidGOrtega
Copy link
Contributor

Looks like versions of CML do not support --version I will amend the PR to support this condition.

Thats strange. Which version of CML does not support --version?

@dacbd
Copy link
Contributor Author

dacbd commented Sep 23, 2021

@DavidGOrtega it had failed on 0.3.0

@0x2b3bfa0 good catch.

@dacbd dacbd requested a review from 0x2b3bfa0 September 23, 2021 15:50
@dacbd dacbd requested a review from 0x2b3bfa0 September 23, 2021 16:43
@dacbd
Copy link
Contributor Author

dacbd commented Sep 23, 2021

example error result:
image

* pass with no sudo
* fail when unable to parse version
@dacbd
Copy link
Contributor Author

dacbd commented Oct 7, 2021 via email

@dacbd
Copy link
Contributor Author

dacbd commented Oct 19, 2021

@0x2b3bfa0 what do you think with these updates?

@dacbd dacbd marked this pull request as draft November 3, 2021 18:52
@dacbd dacbd changed the title log version for validation debug options for validation Nov 3, 2021
@dacbd
Copy link
Contributor Author

dacbd commented Nov 3, 2021

Example usage:
image

@dacbd dacbd marked this pull request as ready for review November 3, 2021 19:03
@dacbd dacbd requested a review from casperdcl November 3, 2021 19:03
@casperdcl casperdcl added enhancement New feature or request testing labels Nov 8, 2021
@DavidGOrtega
Copy link
Contributor

@dacbd sorry for the super late reply, are you happy with it?
There is a test failing

@dacbd
Copy link
Contributor Author

dacbd commented Dec 15, 2021

@DavidGOrtega no worries, my fork has been sufficient for my own use/debugging. I have looked at the error in the checks and I'm not sure what's causing it?

I'm fine with closing this and maintaining my own setup action to help with my testing, but if you feel it would be useful for others at all I would like to see it merged.

@DavidGOrtega
Copy link
Contributor

I think is useful specially coming from you. What I do not get is why the original --version option did not work.

I have looked at the error in the checks and I'm not sure what's causing it?

Let me see 👀

@dacbd
Copy link
Contributor Author

dacbd commented Dec 15, 2021

I think is useful specially coming from you.

❤️

What I do not get is why the original --version option did not work.

CML 0.3.0 did not have a --version it was added later

I have looked at the error in the checks and I'm not sure what's causing it?

Let me see 👀

Thanks, my inner voice has written it off as a weird GitHub cross-account ref thing.

I did mess around with the action a bit (made a main branch) on mine but it has been long enough ago I don't remember what I was trying to do? 🤣 So these links might not be helpful, but it does spam my email every day... https://github.com/dacbd/setup-cml/actions

v1...dacbd:main#diff-55f05888fd854d9962bdd4d8ccf23a07b610990f58174397b2586b58f8937428

@dacbd dacbd self-assigned this Apr 16, 2022
@casperdcl
Copy link
Contributor

casperdcl commented May 2, 2022

need to resolve conflicts @dacbd :)

@dacbd
Copy link
Contributor Author

dacbd commented May 2, 2022

I think we can close and revisit later, nice to have but not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants