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

chore(build): improve organization of hack/ dir #12774

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

agilgur5
Copy link
Contributor

@agilgur5 agilgur5 commented Mar 9, 2024

Follow-up to #12006 (comment)

Motivation

The hack/ dir been a bit of a catch-all / hodgepodge, so at least give it some organization

Modifications

Verification

CI passes

@agilgur5 agilgur5 added the area/build Build or GithubAction/CI issues label Mar 9, 2024
@agilgur5 agilgur5 changed the title chore: improve organization of hack/ dir chore(build): improve organization of hack/ dir Mar 9, 2024
@agilgur5 agilgur5 marked this pull request as ready for review March 9, 2024 08:33
@agilgur5 agilgur5 added the prioritized-review For members of the Sustainability Effort label Mar 21, 2024
@juliev0 juliev0 self-assigned this Mar 24, 2024
@juliev0
Copy link
Contributor

juliev0 commented Mar 24, 2024

can you resolve the conflicting file?

- it's been a bit of a catch-all / hodgepodge, give it some organization matching the root directory names
  - docs scripts under `hack/docs/`
  - manifests scripts under `hack/manifests/`
  - api scripts under `hack/api/`
  - this also simplifies the `changed-files` list in CI as originally mentioned in its PR review
  - add a small README to the `hack/` dir to explain the organization

- remove `hack/wfgraph.py` as unused legacy code (seems to be prior to the UI existing?)
- remove `hack/parse_examples.go` from the `changed-files` list as it no longer exists after bcf5672 (I missed that, my bad)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
@agilgur5
Copy link
Contributor Author

can you resolve the conflicting file?

oh, ironically that is why I marked it as prioritized-review, since it can merge conflict. Well more that this makes things a good bit easier to understand in the hack/ dir and got an approval already, but that too.

merge conflict resolved cleanly with a rebase and no changes needed

@agilgur5 agilgur5 enabled auto-merge (squash) March 24, 2024 02:16
@agilgur5 agilgur5 merged commit 0462ae6 into argoproj:main Mar 24, 2024
27 checks passed
@agilgur5 agilgur5 deleted the chore-improve-hacks-org branch March 24, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues prioritized-review For members of the Sustainability Effort type/tech-debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants