Skip to content

[ML] Platform independent dependency report script#2350

Closed
edsavage wants to merge 1 commit intoelastic:mainfrom
edsavage:dependency_report_cmake_script
Closed

[ML] Platform independent dependency report script#2350
edsavage wants to merge 1 commit intoelastic:mainfrom
edsavage:dependency_report_cmake_script

Conversation

@edsavage
Copy link
Copy Markdown
Contributor

@edsavage edsavage commented Jul 7, 2022

Replace dependency_report.sh bash script with cmake script equivalent

build.gradle Outdated
environment makeEnvironment
commandLine shell
args '-c', "source ./set_env.sh && 3rd_party/dependency_report.sh --csv \"${outputs.files.singleFile}\""
args shell_flag, "${set_env} && ${cmake} -D OUTPUT_FILE=\"${outputs.files.singleFile}\" -P 3rd_party/dependency_report.cmake"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

TODO: change variables here to camel case once #2347 has been merged to main

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You should be able to merge main into this PR branch now to get the updates

build.gradle Outdated
environment makeEnvironment
commandLine shell
args '-c', "source ./set_env.sh && 3rd_party/dependency_report.sh --csv \"${outputs.files.singleFile}\""
args shell_flag, "${set_env} && ${cmake} -D OUTPUT_FILE=\"${outputs.files.singleFile}\" -P 3rd_party/dependency_report.cmake"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You should be able to merge main into this PR branch now to get the updates

#
# Usage:
# dependency_report.sh --csv <output_file>
# cmake -D OUTPUT_FILE=<output_file> -P dependency_report.cmake
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please keep the existing dependency_report.sh in parallel to this new script until we can move release manager over to the new script.

@droberts195
Copy link
Copy Markdown

I think you should merge latest main into the PR branch because then the PR will show just the files changed in this PR. At the moment it's showing changes from other PRs that weren't merge clashes with main, so are completely unrelated.

@edsavage
Copy link
Copy Markdown
Contributor Author

edsavage commented Jul 7, 2022

I think you should merge latest main into the PR branch because then the PR will show just the files changed in this PR. At the moment it's showing changes from other PRs that weren't merge clashes with main, so are completely unrelated.

Yes, I rebased on main which has screwed up the log history a tad. I'll try to fix it..

Replace dependency_report.sh bash script with cmake script equivalent
@edsavage edsavage force-pushed the dependency_report_cmake_script branch from 6b4a5e1 to 0aca0f4 Compare July 7, 2022 14:52
@edsavage edsavage closed this Jul 7, 2022
@edsavage edsavage deleted the dependency_report_cmake_script branch July 7, 2022 14:54
@edsavage edsavage restored the dependency_report_cmake_script branch July 7, 2022 14:54
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.

2 participants