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

Implement my own file change detection. #151

Merged
merged 11 commits into from
Apr 20, 2022
Merged

Conversation

nuclearsandwich
Copy link
Contributor

@nuclearsandwich nuclearsandwich commented Apr 15, 2022

I kept hitting jitterbit/get-changed-files#42 when working on recent PRs. So I decided to see what it would take to get my own approach in.

The answer, it turned out was not much in terms of trickery but a fair bit of tweaking to account for the GitHub actions environment. I am in favor of this "just use git" but it does mean fetching a deep clone rather than a shallow one. For this project that shouldn't be too punishing though.

nuclearsandwich added a commit that referenced this pull request Apr 15, 2022
@nuclearsandwich nuclearsandwich self-assigned this Apr 15, 2022
@nuclearsandwich nuclearsandwich marked this pull request as ready for review April 15, 2022 01:28
nuclearsandwich added a commit that referenced this pull request Apr 15, 2022
@j-rivero
Copy link
Contributor

Changes looks reasonable to me. Is there a any test run on top of these changes to check if it runs fine?

@nuclearsandwich
Copy link
Contributor Author

Changes looks reasonable to me. Is there a any test run on top of these changes to check if it runs fine?

This has been merged into #150 (which was breaking under the existing change detection) and is being used for that PR.

@nuclearsandwich nuclearsandwich merged commit b3930ab into master Apr 20, 2022
@nuclearsandwich nuclearsandwich deleted the nonethisnonsense branch April 20, 2022 15:14
nuclearsandwich added a commit that referenced this pull request Apr 22, 2022
* Reformat with sed script.

    s/^((Package/(Package/
    s/^Package/ Package/
    s/Package (% =/Package (= /
    s/^\$Version/), $Version/
    s/)), /) /
    s/)) |/) |/

* Update config using the latest script version.

* Merge changes from #151.

* Try tr.

* Try merge base.

* Manual cleanup.

* Updates using generator script.

* Revert buster changes.

* Update to correct citadel versions of packages.

* Re-add ignition tools.
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.

2 participants