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

Dashboard: Document the list of all font project git repos that need to be automatically checked. #1241

Closed
felipesanches opened this issue Mar 9, 2017 · 12 comments
Assignees
Labels

Comments

@felipesanches
Copy link
Collaborator

felipesanches commented Mar 9, 2017

After fixing #1240, I'd like to increase the list of font projects git repos being checked by the dashboard's worker container.

It seems to me that the canonical list of font projects to check against should be whatever we currently have at prod. I know it is 800-something families, but I don't know where to find an official list of them all other than automatically querying Google Fonts itself.

Is there a similar list for the git repos for each of those? I was able to compile a list of a bit more than 104 repos by scraping the google/fonts repo for URLs referencing other repos. (the list is here: #1158 (comment)) This would be roughtly only 13% of all projects. Does it mean 87% of the projects simply lack a git repo? Or the repos are there and I simply don't know exactly where?

@davelab6
Copy link
Contributor

davelab6 commented Mar 10, 2017 via email

@felipesanches
Copy link
Collaborator Author

Sure! This kind of info is crucialy important. We definitely need to compile this list somewhere.

@davelab6
Copy link
Contributor

davelab6 commented Mar 11, 2017 via email

@felipesanches
Copy link
Collaborator Author

if by HG you mean Mercurial on Google Code, that's not readable anymore: https://code.google.com/archive/p/googlefontdirectory/source/default/source (I get a 404, actually!)

I also looked up this: https://github.com/blipvert/googlefontdirectory-hg
But I could not find the info in there as well.

@davelab6 Can you clarify where this kind of info could be found online? Or maybe it is only available in your personal data archives?

felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
Extracting the list into a separate file: fontprojects.py
(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
…s, though.

And some of these are binary only, so they still need to be inspected individually
(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
And annotation dozens of other repos with the issues found in each of them.
(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
so that we can generate things like this summary:
=====================
Number of font repositories in this file:
"TTX": 15
"OK": 41
"UFO": 3
"GH-PAGES": 2
"NOTE": 5
"GFONTS-REPO": 1
"OTF": 12
"?": 35
From the total of 114 repos, 46 are enabled.
Enabled means: "OK" or "NOTE" status.

(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
Number of font repositories in this file:
"TTX": 16
"OK": 47
"UFO": 18
"GH-PAGES": 2
"NOTE": 13
"GFONTS-REPO": 1
"OTF": 16
"404-ERROR": 1
"SOURCE-ONLY": 1
From the total of 115 repos, 60 are enabled.
Enabled means: "OK" or "NOTE" status.

(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 29, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 30, 2017
font-family names, based on the foldernames in the google/fonts repo.
We'll still have to fill the gaps in this table...

Number of font repositories in this file:
"TTX": 18
"OK": 46
"UFO": 17
"GH-PAGES": 2
"NOTE": 13
"GFONTS-REPO": 1
"OTF": 15
"404-ERROR": 1
"?": 802
"SOURCE-ONLY": 1
From the total of 916 repos, 59 are enabled.
Enabled means: "OK" or "NOTE" status.

(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Mar 30, 2017
Now we have 91 repos enabled.

====
Number of font repositories in this file:
"TTX": 15
"OK": 76
"UFO": 18
"GH-PAGES": 2
"NOTE": 15
"GFONTS-REPO": 1
"OTF": 15
"404-ERROR": 1
"?": 777
"SOURCE-ONLY": 2
From the total of 922 repos, 91 are enabled.
Enabled means: "OK" or "NOTE" status.

(issue fonttools#1241)
@davelab6
Copy link
Contributor

davelab6 commented Apr 3, 2017

@m4rc1e has made a Google Docs spreadsheet to collaborative live-edit this data, and there is a public CSV export URL to fetch the data here:

https://docs.google.com/spreadsheets/d/1ampzD9veEdrwUMkOAJkMNkftqtv1jEygiPR0wZ6eNl8/pub?gid=0&single=true&output=csv

I suggest setting up FB to pull from that URL :)

@felipesanches
Copy link
Collaborator Author

felipesanches commented Apr 3, 2017

Sure! I've been chatting with @m4rc1e about that earlier today and that's our plan :-)

@davelab6
Copy link
Contributor

davelab6 commented Apr 3, 2017 via email

@graphicore
Copy link
Collaborator

@felipesanches
Copy link
Collaborator Author

@graphicore Is there any info about URLs of upstream font project repos in there ?

@graphicore
Copy link
Collaborator

@graphicore Is there any info about URLs of upstream font project repos in there ?

I don't know.

@felipesanches
Copy link
Collaborator Author

After a quick glance, I had the impression it does not have that kind of info in there. At least not consistently throughout the family folders. And it may also be outdated info, if any.

But thanks for pointing out the existence of the repo anyway! :-)

felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 4, 2017
feed the container with data from a GoogleDocs spreadsheet.
But we keep a cache file locally as well just in case (and for versioning purposes)

(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 4, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 4, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
Using git commit --depth={MAX_NUM_ITERATIONS}
(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
we'll later increase this value again, but now, for testing purposes, let's stick to the master of each font-repo.
(issue fonttools#1241)
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
felipesanches added a commit to felipesanches/fontbakery that referenced this issue Apr 5, 2017
@felipesanches felipesanches changed the title Document the list of all font project git repos that need to be automatically checked. Dashboard: Document the list of all font project git repos that need to be automatically checked. Apr 28, 2017
@felipesanches felipesanches modified the milestones: 0.3.0 Collection Dashboard Web UI, 0.2.0 Binary Checks Are Reliable Apr 28, 2017
@davelab6 davelab6 assigned graphicore and unassigned felipesanches May 8, 2017
@felipesanches
Copy link
Collaborator Author

Migrating to fontbakery-dashboard issue tracker per #1383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants