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

First release of Apache Baremaps #535

Merged
merged 26 commits into from
Feb 23, 2023
Merged

First release of Apache Baremaps #535

merged 26 commits into from
Feb 23, 2023

Conversation

bchapuis
Copy link
Member

No description provided.

@bchapuis bchapuis linked an issue Nov 13, 2022 that may be closed by this pull request
36 tasks
@bchapuis bchapuis force-pushed the 492-release branch 7 times, most recently from ac15117 to ec78512 Compare November 18, 2022 00:43
@apache apache deleted a comment from sonarcloud bot Nov 18, 2022
@bchapuis bchapuis force-pushed the 492-release branch 2 times, most recently from 1d4c6d5 to f159153 Compare November 18, 2022 10:52
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2022

Please retry analysis of this Pull-Request directly on SonarCloud.

@bchapuis bchapuis force-pushed the 492-release branch 15 times, most recently from c4bb1b9 to 4bc74b7 Compare November 18, 2022 16:27
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

NOTICE Outdated
Comment on lines 7 to 12
This product includes protocol buffers definitions copied from OSMPBF.
Copyright (c) 2010 Scott A. Crosby. <[email protected]>
MIT License.
Please visit the following URLs for the licensing information:
https://github.com/openstreetmap/OSM-binary/issues/18
https://github.com/openstreetmap/OSM-binary/pull/35
Copy link
Member

Choose a reason for hiding this comment

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

Since it uses the MIT License, you don't need to modify the NOTICE.

Copy link
Member Author

Choose a reason for hiding this comment

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

As the discussion regarding the licensing of OSMPBF is a bit scattered on the web (the original version in the osmosis project has not been updated by Scott Crosby), I wanted to keep track of it.

NOTICE Outdated
Comment on lines 7 to 24
This product includes protocol buffers definitions copied from OSMPBF.
Copyright (c) 2010 Scott A. Crosby. <[email protected]>
MIT License.
Please visit the following URLs for the licensing information:
https://github.com/openstreetmap/OSM-binary/issues/18
https://github.com/openstreetmap/OSM-binary/pull/35

This product includes software derived from Palantir Streams.
Copyright 2015 Palantir Technologies, Inc.
Apache License, Version 2.0
Please visit the following URL for the full text of the Palantir license:
https://github.com/palantir/streams/blob/develop/LICENSE

This product includes software derived from Planetiler.
Copyright 2021 Michael Barry and Planetiler Contributors.
Apache License, Version 2.0
Please visit the following URL for the full text of the Planetiler license:
https://github.com/onthegomap/planetiler/blob/main/LICENSE
Copy link
Member

Choose a reason for hiding this comment

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

You seem to have forgotten to declare it in the LICENSE file.

Copy link
Member Author

Choose a reason for hiding this comment

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

Should I copy the NOTICE in the LICENSE file? Isn't it redundant?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

If you are source code dependent and the dependent code used license is the AL2 license, the NOTICE file needs to contain the NOTICE of the other party.

Except for the AL2 license, I have not seen other licenses that require modifying the NOTICE file.

LICENSE Outdated
Comment on lines 175 to 201

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Copy link
Member

Choose a reason for hiding this comment

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

we usually choose to keep it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I removed the notice to address one of @julianhyde's comment. I may have misunderstood it.

@CalvinKirs
Copy link
Member

Do not include binary packages in source releases, I see we have a maven-wrapper.jar

In addition, maven-wrapper code is included in the source release, so we need to declare it in the LICENSE and NOTICE files.

@CalvinKirs
Copy link
Member

@bchapuis
Copy link
Member Author

bchapuis commented Feb 6, 2023

Do not include binary packages in source releases, I see we have a maven-wrapper.jar

Are you checking the baremaps-0.7.1-rc3-incubating-src.zip or the Source code (ZIP) archive. The former shouldn't include mvnw. The latter is automatically generated by GitHub and I haven't been able to disable this feature yet.

@CalvinKirs
Copy link
Member

Do not include binary packages in source releases, I see we have a maven-wrapper.jar

Are you checking the baremaps-0.7.1-rc3-incubating-src.zip or the Source code (ZIP) archive. The latter should be ignored as it is automatically generated by GitHub (I haven't been able to disable this feature yet).↳

Sorry, my mistake~ I looked directly at your code, not the source package, please ignore me.

@bchapuis
Copy link
Member Author

bchapuis commented Feb 6, 2023

Sorry, my mistake~ I looked directly at your code, not the source package, please ignore me.

No problem, I think I should have been clearer, because this issue has been reported several time with the rc1 and I wasn't sure how I should handled it.

@sonarcloud
Copy link

sonarcloud bot commented Feb 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bchapuis
Copy link
Member Author

bchapuis commented Feb 8, 2023

@CalvinKirs I tried to integrate your comments in the latest commit. I also took some time check the license associated with the test data (these data files will need to be replaced at some point during the incubation). As mentioned, I think it makes sense to keep the link to the discussions regarding the relicensing of OSMPBF to MIT as it was originally released under the LGPL.

@CalvinKirs
Copy link
Member

@CalvinKirs I tried to integrate your comments in the latest commit. I also took some time check the license associated with the test data (these data files will need to be replaced at some point during the incubation). As mentioned, I think it makes sense to keep the link to the discussions regarding the relicensing of OSMPBF to MIT as it was originally released under the LGPL.↳

I'll do a full check later, but it might be late as I've been busy lately.
But this does not affect the release, because we use DISCLAIMER-WIP.

@bchapuis
Copy link
Member Author

bchapuis commented Feb 11, 2023

I'll do a full check later, but it might be late as I've been busy lately. But this does not affect the release, because we use DISCLAIMER-WIP.

No hurry, there is a lot of work ahead to replace all the licensed data from the tests.

If I understand things correctly, the DISCLAIMER-WIP allows us to publish releases, even if we are not fully conform to Apache's guideline yet. Is that right? Our latest release is outdated and I think it would be good to publish a new one.

@CalvinKirs
Copy link
Member

I'll do a full check later, but it might be late as I've been busy lately. But this does not affect the release, because we use DISCLAIMER-WIP.↳

No hurry, there is a lot of work ahead to replace all the licensed data from the tests.↳

If I understand things correctly, the DISCLAIMER-WIP allows us to publish releases, even if we are not fully conform to Apache's guideline yet. Is that right? Our latest release is outdated and I think it would be good to publish a new one.↳

yes, If you use the DISCLAIMER-WIP way, you only need to include the standard NOTICE, LICENSE, and DISCLAIMER-WIP.

@bchapuis bchapuis marked this pull request as ready for review February 20, 2023 16:20
@bchapuis bchapuis merged commit 19baee6 into main Feb 23, 2023
@bchapuis bchapuis deleted the 492-release branch February 23, 2023 12:22
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.

Make the release process compatible with the Apache guidelines
2 participants