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

update copyright notices #2499

Merged
merged 1 commit into from
Aug 13, 2019
Merged

update copyright notices #2499

merged 1 commit into from
Aug 13, 2019

Conversation

garyverhaegen-da
Copy link
Contributor

Copyright is complicated and I don't understand it. The legal team tells me this is better.

Copy link
Contributor

@hurryabit hurryabit left a comment

Choose a reason for hiding this comment

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

If the legal team says this is better, I'm happy with it.

@garyverhaegen-da
Copy link
Contributor Author

Once #2502 is merged I'll rerun the script on then-master an update this PR with the result. Changed lines should be added == removed.

Copy link
Contributor

@rautenrieth-da rautenrieth-da left a comment

Choose a reason for hiding this comment

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

The files in ledger/sandbox/src/main/resources/db/migration/* are immutable, their hash is used in the database migration.
If changing them is absolutely necessary, we will have to find a way to help users with persistent sandbox databases deal with the resulting breakage (e.g., https://flywaydb.org/documentation/command/repair.html).

@stefanobaghino-da
Copy link
Contributor

stefanobaghino-da commented Aug 13, 2019

Building on top of @rautenrieth-da's review, I would suggest to either:

  • exclude migration scripts from header checks, or
  • accept a different header for migration scripts.

The first approach could be viable as applied exclusively to existing migration scripts, since they cannot be changed.

@garyverhaegen-da
Copy link
Contributor Author

The files in ledger/sandbox/src/main/resources/db/migration/* are immutable, their hash is used in the database migration.
If changing them is absolutely necessary, we will have to find a way to help users with persistent sandbox databases deal with the resulting breakage (e.g., https://flywaydb.org/documentation/command/repair.html).

The goal of the new header is to accommodate external contributions (as, given our CLA, they retain copyright to their contribution). Therefore, if those files are immutable and have been written entirely by DA employees so far, there is no need to update them.

I have rebased this PR on top of #2514, so migration files should now be unchanged by this. Could you please update your review to match the new state of this PR?

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.

5 participants