Comments (10)
I am not counting git history size. I think Nimble uses --depth 1
. Even 35MB is huge for a library.
from pixie.
I'm confused:
Which I don't need if I don't want to run tests or use some examples.
So you want us to remove the tests and examples from the repo? Sorry but that is insane, Pixie without tests is never going to happen.
What exactly do you suggest we do (that does not involve not having any tests).
from pixie.
My guess is the actual issue is not using git clone --depth 1
. Further, you can get the repo from https://github.com/treeform/pixie/releases tarballs or zips in 35MB.
from pixie.
I don't see 35MB in my pixie install folder (its just 607.3 KB):
Please list files in your ~\.nimble\pkgs\pixie-3.1.4
If you have 35MB there its probably a nimble bug.
from pixie.
35mb is whats getting downloaded by nimble/git, nimble then installs only relevant files. But 35megs is nothing unless you are on heavily metered connection.
from pixie.
If nimble downloads 35mb to keep 600k that's feels like thing nimble should fix?
from pixie.
dont think thats possible with git
from pixie.
I think you can do this with git commands:
git archive --remote=ssh://host/pathto/repo.git HEAD README.md
But I think github blocks that method so one needs to use the non-git HTTP raw file interface:
wget https://raw.githubusercontent.com/treeform/pixie/master/src/pixie.nim
My point if nimble cared enough they would implement are more efficient download.
from pixie.
I think you can do this with git commands:
git archive --remote=ssh://host/pathto/repo.git HEAD README.mdBut I think github blocks that method so one needs to use the non-git HTTP raw file interface:
wget https://raw.githubusercontent.com/treeform/pixie/master/src/pixie.nimMy point if nimble cared enough they would implement are more efficient download.
that wouldnt work, nimble needs to have directory listing to know which files to install, and that would mean that remote host needs some http interface for per file fetching. thats is some insane amount of care required.
from pixie.
I think Nimble using --depth 1 and removing unneeded files is a great middle-ground between download size, final space used and dev effort. Pixie is larger than many libraries to download via git specifically because it needs images for testing (it is a graphics library after all). So yeah, who cares about some data that downloaded in a few seconds.
No practical suggestions have been forthcoming so closing this.
from pixie.
Related Issues (20)
- When importing library get error HOT 2
- Raw file format support HOT 2
- something wrong a.draw(b) with alpha? HOT 2
- {1, 2} should be 1..2 or {1'u16, 2}
- SVG error does not support non integer width,height
- Request: Text hAlign = JUSTIFY_ALIGN
- Unsupported SVG tag: use [PixieError] HOT 1
- Support other interpolation methods in drawing operations
- Windows GCC error: Pixie doesn't work HOT 1
- Missing library crunchy (added in 5.0.5)? HOT 3
- Doesn't run if compiled using nim cpp? (C++) HOT 2
- Cannot compile pixie 5.0.6 on windows 11 64bit HOT 12
- The API Reference documentation appears to be down HOT 1
- Help: readImage from memory HOT 3
- SVG radialGradient defs/url support HOT 3
- Working with pixel size <= byte HOT 2
- Need a way to access Font.typeface.opentype HOT 4
- The API docs are down and/or overloaded HOT 1
- Gaps sometimes visible between filled paths which share an edge HOT 3
- [Question] Using pixie during compilation phase HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixie.