-
Notifications
You must be signed in to change notification settings - Fork 135
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
Idea integration results in correct copyright xml files #2016
Conversation
Previously we had: ```xml <component name="CopyrightManager"> <copyright> <option name="notice" value="(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved. 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."/> <option name="keyword" value="Copyright"/> <option name="allowReplaceKeyword" value=""/> <option name="myName" value="001_apache-2.0.txt"/> <option name="myLocal" value="true"/> </copyright> <copyright> <option name="notice" value="(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved. 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."/> <option name="keyword" value="Copyright"/> <option name="allowReplaceKeyword" value=""/> <option name="myName" value="001_apache-2.0.txt"/> <option name="myLocal" value="true"/> </copyright> <copyright> <option name="notice" value="(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved. 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."/> <option name="keyword" value="Copyright"/> <option name="allowReplaceKeyword" value=""/> <option name="myName" value="001_apache-2.0.txt"/> <option name="myLocal" value="true"/> </copyright> <copyright> <option name="notice" value="(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved. 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."/> <option name="keyword" value="Copyright"/> <option name="allowReplaceKeyword" value=""/> <option name="myName" value="001_apache-2.0.txt"/> <option name="myLocal" value="true"/> </copyright> </component> ```
Generate changelog in
|
I think you want to change the other addcopyright method as well and always make it do createoruodate. Other impl looks for the node before and adds if it doesn’t exist but doesn’t update. |
@robert3005 Ya, the IPR implementation could also be better, though that one isn't executed every time gradle operations run from the IDE but is bounded by the times you run My preference is to punt the ipr piece for a separate PR |
👍 |
Released 4.51.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.51.0 | Type | Description | Link | | ---- | ----------- | ---- | | Fix | Idea integration results in correct copyright xml files without duplicate entries | palantir/gradle-baseline#2016 | ## 4.52.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | It's no longer necessary to import an ipr before using gradle integration, code styles are imported correctly out of the box. | palantir/gradle-baseline#2015 | To enable or disable this check, please contact the maintainers of Excavator.
Previously we had:
==COMMIT_MSG==
Idea integration results in correct copyright xml files without duplicate entries
==COMMIT_MSG==