-
Notifications
You must be signed in to change notification settings - Fork 21
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
WIP: Generating fingerprinting list #128
base: master
Are you sure you want to change the base?
Conversation
Yes, I think that the is appropriate way to update the fingerprinting JSON files to the versioned branches in shavar-prod-lists repo.
I do not think there is a need to create a local copy of the repo. Can you explain more in detail why you think we would need the local copy?
"(F)iles are checked" as in we should check to see if the fingerprinting JSON file should be updated just like in the
Since we have versioned lists in shavar-prod-lists repo the creation of fingerprinting JSON should use the values/domains in the respective versioned branch.
Yes, but I think if the check to upload new data to S3 for the fingerprinting file returns
|
@skim1102 Sorry for the delay on this issue, wasn't able to work on it earlier. Would it be preferred to use the Github Api using requests library or use something like PyGithub (or anything else you might have in mind)? |
@svensevenslow, I was thinking of using just the GitHub API but using PyGithub, as you mentioned, may be better since we will need to "commit" and create a "PR". Initially I was thinking of creating a placeholder branch, but using PyGithub, I think we should be able to create a branch from the latest versioned branch, commit the latest fingerprint JSON file, and create a PR against the versioned branch (deleting the branch can happen after the PR is merged by the repo maintainer). |
9d2b8be
to
46fe46f
Compare
46fe46f
to
e719ec8
Compare
Let me know what you think. |
@skim1102 could you please have a look |
This a WIP PR. Currently I have just added the code to generate the json file.
I had a few questions:
base-fingerprinting-track.json
file and then creating the PR using the Github API be the correct way to go about it?files are checked
mean increate a PR to shavar-prod-lists when the files are checked and need to be published in publish2cloud.py
using the values
inMeaning base-fingerprinting-track.json should be generated using values in the respective versioned branch
.