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

divest /api from rest of nomad internal packages #5622

Merged
merged 2 commits into from
Apr 28, 2019
Merged

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Apr 28, 2019

The API package needs to be independent from rest of nomad packages, to avoid leaking internal packages and dependencies (e.g. raft, ugorji, etc).

Also add a checker that /api doesn't import internal nomad pkgs as part of CI.

For some context - check #5213 and #5488 .

Mahmood Ali added 2 commits April 28, 2019 13:32
The API package needs to be independent from rest of nomad packages, to
avoid leaking internal packages and dependencies (e.g. raft, ugorji,
etc)
@notnoop notnoop requested a review from endocrimes April 28, 2019 19:38
Copy link
Contributor

@endocrimes endocrimes left a comment

Choose a reason for hiding this comment

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

This is such a sad hack but lgtm - looks like you might need to add some more package exceptions though.

@notnoop notnoop merged commit 634592e into master Apr 28, 2019
@notnoop notnoop deleted the b-divest-api-20190427 branch April 28, 2019 20:24
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants