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

Package pkg renamed into internal. #1

Closed
wants to merge 1 commit into from

Conversation

piotrkowalczuk
Copy link

@piotrkowalczuk piotrkowalczuk commented Jul 23, 2018

The code stored in pkg looks like something that should be restricted only for internal use. internal directory in GOPATH put restrictions on a code that it contains. It is possible to import code from internal package only in the same GOPATH branch. pkg package is dedicated for libraries that are also meant to be used by client/caller.

More about this concept can be found here.

@piotrkowalczuk piotrkowalczuk requested a review from pires July 23, 2018 14:48
@pires
Copy link
Contributor

pires commented Jul 24, 2018

@piotrkowalczuk the PR description is not enough. Can you please elaborate?

@piotrkowalczuk
Copy link
Author

@pires done

@pires
Copy link
Contributor

pires commented Sep 7, 2018

Sorry @piotrkowalczuk I've been quite busy with some issues regarding the development of some of the features and haven't been able to look at this properly.

I agree with the argument but I'm not sure all the code moved in this PR should be moved or not, e.g. code related to the operator APIs, which may be imported by separate projects.

After the dust is settled, and the team is satisfied with the delivery, I'll look back into this.

@pires
Copy link
Contributor

pires commented May 25, 2019

@piotrkowalczuk can you please rebase?

@piotrkowalczuk
Copy link
Author

@pires I'm trying, but #6 blocks me.

@pires
Copy link
Contributor

pires commented Jun 2, 2019

Want to give it a shot now @piotrkowalczuk? I'm trying not to import any code from Kubernetes codebase as I don't want to maintain any dependencies.

@piotrkowalczuk
Copy link
Author

Continued #8.

@pires pires deleted the feature/internal-package branch June 3, 2019 23:08
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