bcr / blinka-cli Goto Github PK
View Code? Open in Web Editor NEWCommand-line utility for performing CircuitPython operations
License: MIT License
Command-line utility for performing CircuitPython operations
License: MIT License
When you do an updatelibs
the dependencies aren't checked for their dependencies. A workaround is to keep doing updatelibs
until it stops adding libraries, but should probably get fixed.
The .Trashes
goop in the Circuit Python root causes the archive creation to fail. This is deep in the shutil.make_archive
code so I'm not sure how to fix it (there's no exclude list to skip these kinds of things.)
โ bcr blinka -v backup
๐ค options = Namespace(verbose=True, locale='en_US', command='backup', filename='backup-2023-05-12-00-54-47', root='/Volumes/CIRCUITPY', func=<function backup at 0x1008a9440>, tempdir='/var/folders/yt/fcxkjt2133q_g800t0whvckw0000gn/T/tmpn1853hkq')
๐ Archiving /Volumes/CIRCUITPY to backup-2023-05-12-00-54-47.zip
Traceback (most recent call last):
File "/opt/homebrew/bin/blinka", line 33, in <module>
sys.exit(load_entry_point('blinka-bcr', 'console_scripts', 'blinka')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/blake/Source/bcr/blinka-cli/blinka/__main__.py", line 5, in main
return blinka.blinka.main()
^^^^^^^^^^^^^^^^^^^^
File "/Users/blake/Source/bcr/blinka-cli/blinka/blinka.py", line 62, in main
options.func(options)
File "/Users/blake/Source/bcr/blinka-cli/blinka/commands/backup.py", line 11, in backup
shutil.make_archive(args.filename, extension, args.root)
File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 1133, in make_archive
filename = func(base_name, base_dir, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 1018, in _make_zipfile
zf.write(path, arcname)
File "/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/zipfile.py", line 1791, in write
with open(filename, "rb") as src, self.open(zinfo, 'w') as dest:
^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/Volumes/CIRCUITPY/.Trashes'
The latest BDF
code in CircuitPython expects the FONT_ASCENT
and FONT_DESCENT
properties. See adafruit/Adafruit_CircuitPython_Bitmap_Font@6ae6e07
Also, the conversion tool https://adafruit.github.io/web-bdftopcf/ fails to convert our files without these properties.
People should be able to install this with an unsurprising mechanism like pip3 install blinka
I'd like it so that maintainers can have a "live" version of blinka as they work on the code. Which I think is accomplished with https://stackoverflow.com/questions/42609943/what-is-the-use-case-for-pip-install-e
There's some character alignment issues that can be fixed by a bounding box adjustment for the x offset
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.