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

Move sync-identical-files.py into public repo as sync-files.py #3152

Merged
merged 2 commits into from
Mar 31, 2020

Conversation

dbartol
Copy link
Contributor

@dbartol dbartol commented Mar 29, 2020

We currently use a script to keep certain duplicate QL files in sync across the repo. For historical reasons, this script has lived in the private repo alongside the rest of CodeQL, even though it's only used for files in the public ql repo. This PR moves the script into the public ql repo. It is still invoked by Jenkins scripts that live in the private repo during CI, but it can also be invoked directly without having a checkout of the private repo. This is useful for anyone who is modifying the dataflow or IR libraries with only a QL checkout.

We currently use a script to keep certain duplicate QL files in sync across the repo. For historical reasons, this script has lived in the private repo alongside the rest of CodeQL, even though it's only used for files in the public `ql` repo. This PR moves the script into the public `ql` repo. It is still invoked by Jenkins scripts that live in the private repo during CI, but it can also be invoked directly without having a checkout of the private repo. This is useful for anyone who is modifying the dataflow or IR libraries with only a QL checkout.
@dbartol dbartol added C# C++ depends on internal PR This PR should only be merged in sync with an internal Semmle PR Java labels Mar 29, 2020
@dbartol dbartol requested a review from jbj March 29, 2020 07:00
@dbartol dbartol removed the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Mar 29, 2020
@dbartol
Copy link
Contributor Author

dbartol commented Mar 29, 2020

Note that this PR can be merged without waiting for the internal PR, but this PR must be merged before the internal PR can be merged.

@lgtm-com
Copy link

lgtm-com bot commented Mar 29, 2020

This pull request introduces 2 alerts when merging 0952064 into 1baf5df - view on LGTM.com

new alerts:

  • 1 for Unnecessary lambda
  • 1 for Module is imported with 'import' and 'import from'

Copy link
Contributor

@jbj jbj left a comment

Choose a reason for hiding this comment

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

LGTM. I'll merge Tuesday (tomorrow) if there are no objections.

@dbartol Does the console output look the same as before?

@dbartol
Copy link
Contributor Author

dbartol commented Mar 30, 2020

@jbj It should look the same. I tried not to make any changes beyond factoring out the pr-check stuff.

@jbj jbj merged commit 93f7c95 into github:master Mar 31, 2020
@dbartol dbartol deleted the dbartol/sync-files branch April 24, 2020 17:34
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.

3 participants