Skip to content

GH-38332: [CI][Release] Resolve symlinks in RAT lint#38337

Merged
raulcd merged 3 commits into
apache:mainfrom
kou:release-source-rat
Oct 19, 2023
Merged

GH-38332: [CI][Release] Resolve symlinks in RAT lint#38337
raulcd merged 3 commits into
apache:mainfrom
kou:release-source-rat

Conversation

@kou
Copy link
Copy Markdown
Member

@kou kou commented Oct 19, 2023

Rationale for this change

Our release script (dev/release/02-source.sh) resolves symlinks in source archive but our lint script (dev/archery/archery/utils/source.py) doesn't resolve symlinks. So we may detect RAT problem by our CI.

What changes are included in this PR?

Resolve symlinks in our lint script too.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@kou kou requested review from assignUser and raulcd as code owners October 19, 2023 00:30
@github-actions
Copy link
Copy Markdown

⚠️ GitHub issue #38332 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label Oct 19, 2023
@kou
Copy link
Copy Markdown
Member Author

kou commented Oct 19, 2023

I confirmed that the original problem can be caught by CI:

https://github.com/apache/arrow/actions/runs/6568194718/job/17842233859?pr=38337#step:5:941

apache-rat license violation: python/cmake_modules/snappy.diff

I'll fix the problem.

@kou
Copy link
Copy Markdown
Member Author

kou commented Oct 19, 2023

@pitrou
Copy link
Copy Markdown
Member

pitrou commented Oct 19, 2023

@raulcd Could you review this?

Comment thread dev/release/02-source.sh Outdated
@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Oct 19, 2023
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Copy link
Copy Markdown
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

Thanks @kou

@github-actions github-actions Bot added awaiting change review Awaiting change review awaiting changes Awaiting changes and removed awaiting changes Awaiting changes awaiting change review Awaiting change review labels Oct 19, 2023
@raulcd raulcd added awaiting merge Awaiting merge and removed awaiting changes Awaiting changes labels Oct 19, 2023
@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting merge Awaiting merge labels Oct 19, 2023
@raulcd raulcd merged commit 3cf96b3 into apache:main Oct 19, 2023
@raulcd raulcd removed the awaiting merge Awaiting merge label Oct 19, 2023
raulcd added a commit that referenced this pull request Oct 19, 2023
### Rationale for this change

Our release script (`dev/release/02-source.sh`) resolves symlinks in source archive but our lint script (`dev/archery/archery/utils/source.py`) doesn't resolve symlinks. So we may detect RAT problem by our CI.

### What changes are included in this PR?

Resolve symlinks in our lint script too.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #38332

Lead-authored-by: Sutou Kouhei <kou@clear-code.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@kou kou deleted the release-source-rat branch October 19, 2023 09:11
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 3cf96b3.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
)

### Rationale for this change

Our release script (`dev/release/02-source.sh`) resolves symlinks in source archive but our lint script (`dev/archery/archery/utils/source.py`) doesn't resolve symlinks. So we may detect RAT problem by our CI.

### What changes are included in this PR?

Resolve symlinks in our lint script too.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38332

Lead-authored-by: Sutou Kouhei <kou@clear-code.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
)

### Rationale for this change

Our release script (`dev/release/02-source.sh`) resolves symlinks in source archive but our lint script (`dev/archery/archery/utils/source.py`) doesn't resolve symlinks. So we may detect RAT problem by our CI.

### What changes are included in this PR?

Resolve symlinks in our lint script too.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38332

Lead-authored-by: Sutou Kouhei <kou@clear-code.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
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.

[Release] RAT error for 14.0.0 RC1 source archive

3 participants