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

Move automatiek to the main repo #3750

Merged
merged 2 commits into from
Jun 23, 2020
Merged

Move automatiek to the main repo #3750

merged 2 commits into from
Jun 23, 2020

Conversation

deivid-rodriguez
Copy link
Member

@deivid-rodriguez deivid-rodriguez commented Jun 22, 2020

Description:

Currently the process of vendoring dependencies is quite tedious because either it requires manual changes, or automatiek needs to be refined and tweaked constantly to accommodate new dependencies we vendor.

What was the end-user or developer problem that led to this PR?

Since automatiek lives as a external gem, when we need to change it, we need to wait for a release before using it in bundler, sice our current Gemfile setup does not support "git sourced gems". So this process is not very agile.

What is your fix for the problem, implemented in this PR?

My fix is to move automatiek to the rubygems repo, since it's just one ruby file.

See segiddins/automatiek#10.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

@deivid-rodriguez
Copy link
Member Author

I had this idea a few days ago here, and I believe it's the simplest thing to do.

Currently we can't use the proper automatiek version, because the
changes we need are not released. Given this is so little code, I think
it's better to keep it inside the main repo.
Copy link
Member

@hsbt hsbt left a comment

Choose a reason for hiding this comment

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

👍 Good to change for maintainers.

@deivid-rodriguez
Copy link
Member Author

Great, let's do it!

@deivid-rodriguez deivid-rodriguez merged commit 1b928bc into master Jun 23, 2020
@deivid-rodriguez deivid-rodriguez deleted the vendor_automatiek branch June 23, 2020 07:00
@segiddins
Copy link
Member

This is a violation of the automatiek license — given a substantial piece of the software was copied, the license & copyright notice must accompany the copied code

@deivid-rodriguez
Copy link
Member Author

deivid-rodriguez commented Jun 23, 2020

Given that we use the same license (MIT), and distribute that license with the code, what other actions should we take? Never heard of such an issue when talking about one of the most permissive licenses.

In any case, we should definitely write a notice somewhere saying big thanks to you for the original code 🙌, since that information is no longer available in git.

@segiddins
Copy link
Member

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

@deivid-rodriguez
Copy link
Member Author

Oh, I think I see what you mean, let me open a PR and I'll tag you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants