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

Remove the OPA policies folder #774

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Apr 2, 2022

Description

This PR drops the OPA policies folder, since those policies are currently unused and they have been replaced by a custom webhook. In addition, it bumps the golanci-lint action, as affected by a problem.

@giorio94 giorio94 added the kind/cleanup Refactoring code label Apr 2, 2022
@giorio94 giorio94 requested a review from QcFe April 2, 2022 16:44
@giorio94 giorio94 requested a review from a team as a code owner April 2, 2022 16:44
@kingmakerbot
Copy link
Collaborator

Hi @giorio94. Thanks for your PR.

I am @kingmakerbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch
  • /merge: Merge this PR into the master branch
  • /hold: Adds hold label to prevent merging with /merge
  • /unhold: Removes the hold label to allow merging with /merge
  • /deploy-staging: Deploy a staging environment to test this PR
  • /undeploy-staging: Manually undeploy the staging environment

Make sure this PR appears in the CrownLabs changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

Copy link
Collaborator

@QcFe QcFe left a comment

Choose a reason for hiding this comment

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

Was wondering if it's not the case to make an "archive" folder or something similar, in order to not just trash everything...

@giorio94
Copy link
Member Author

giorio94 commented Apr 3, 2022

Was wondering if it's not the case to make an "archive" folder or something similar, in order to not just trash everything...

I see your point, although I am personally a bit against it to keep the repo as lean as possible:

  • Git is already the archive, and in future everything could be restored from there;
  • This originated from a very interesting project and we learned a lot. Still, I sincerely doubt we will ever reuse a solution like this in CrownLabs as it is way too complex and led to different problems (it is much simpler and flexible to write custom webhooks).

@QcFe
Copy link
Collaborator

QcFe commented Apr 6, 2022

I see your point, although I am personally a bit against it to keep the repo as lean as possible:

  • Git is already the archive, and in future everything could be restored from there;
  • This originated from a very interesting project and we learned a lot. Still, I sincerely doubt we will ever reuse a solution like this in CrownLabs as it is way too complex and led to different problems (it is much simpler and flexible to write custom webhooks).

Sorry for the late reply.
This definitely makes sense, however these removed pieces would end up lost between commits... What if we made a kind of "features history log" to be put in documentation or somewhere else, with a list of removed features pointing at the latest tag that included them?

@frisso
Copy link
Member

frisso commented Apr 6, 2022

👍

@giorio94
Copy link
Member Author

giorio94 commented Apr 6, 2022

/merge

@kingmakerbot kingmakerbot merged commit 1e68411 into netgroup-polito:master Apr 6, 2022
@giorio94 giorio94 deleted the mio/policies branch January 6, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants