question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Splitting out helper scripts as a separate project

See original GitHub issue

I would like to consider and discuss here the idea of eventually splitting fontbakery into 2 separate python packages:

  • (a) FontBakery itself as a tool exclusively focused on quality assurance of font families. A.k.a. the “ultimate typography testsuite”.
  • (b) A second package to host helper scripts such as the plethora of scripts we currently have in our bin/ directory. A whole bunch of tiny tools for inspecting and hotfixing font files.

The rationale to that proposal relates to a common complain about the difficulty to install fontbakery on a system due to its large number of dependencies. The testsuite portion of the code still requires a lot of dependencies, but there are things that are really only needed on the scripts.

It seems to me that a fontbakery-scripts package could pretty easily list fontbakery as a dependency in its setup.py so that it would be doable to install everything by simply performing a pip install fontbakery-scripts, but users who only need to run the testsuite can skip installing the scripts and their extra dependencies.

A second reason is simply the fact that right now the project tries to accomplish 2 fairly separate purposes: (a) QA automated reports and (b) code snippets for font inspection & hotfixing.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
davelab6commented, Nov 7, 2017

Congrats!

This is a pretty big change so I suggest to tag and release 0.3.3 soon (like this week)

I moved stuff from 0.3.3 to 0.3.4 - does https://github.com/googlefonts/fontbakery/milestone/61 look doable this week?

1reaction
anthrotypecommented, Oct 31, 2017

pkgutil-style namespace packages work well in both python 2 and 3 https://packaging.python.org/guides/packaging-namespace-packages/

Read more comments on GitHub >

github_iconTop Results From Across the Web

bash - Is it common to split larger script into multiple scripts ...
I have a moderately large bash project sourceforge.net/projects/duplexpr . Currently, each script is self contained, but I am thinking of moving all the...
Read more >
Is there a way to split/factor out common parts of Gradle build
Have a look at: Configuring the project using an external build script. Basically it's apply from: 'other.gradle' . One thing the user guide ......
Read more >
All you need to know about JavaScript code splitting
Webpack considers this as a split point that it will break out into a separate script (or chunk). Once the module is returned,...
Read more >
The 100% correct way to split your chunks with Webpack
The 100% correct way to split your chunks with Webpack. Working out the best way to serve up files to your users can...
Read more >
Allow splitting the script editor into several panes #414 - GitHub
For example we could right click on script name and select something like "Add Split view" and it would open 2nd code window...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found