John-Mark Gurney
|
a8644bceed
|
bring this back under 80 char lines.. (should add a before/after check)
|
4 years ago |
John-Mark Gurney
|
17256546c9
|
add support for writing data to the cache.. this involves a minor
cache reorg, and we now store files by hash, and in subdirs...
also import urlparse as we use it a lot...
|
4 years ago |
John-Mark Gurney
|
3ce536c3f9
|
python 3.7's virtual env has 1.1k files at average of 13k/file, 10MB
might be too little, so I'm bumping this, though it's not active yet..
|
4 years ago |
John-Mark Gurney
|
67ad8fd46c
|
add registering the writer to the config...
make sure that extra modules don't get loaded..
|
4 years ago |
John-Mark Gurney
|
eefdac6279
|
when importing via alias, make sure the alias gets added to sys.modules
so that when a future item imports by the alias, it gets the same module
instead of rerunning the module/code again..
|
4 years ago |
John-Mark Gurney
|
2799340a01
|
add ideas on what features a cli should have..
drop a place holder test as it got written..
|
4 years ago |
John-Mark Gurney
|
46527cd483
|
udpate the readme a bit w/ what I've implemented recently..
|
4 years ago |
John-Mark Gurney
|
47609472a6
|
add support for configuring IPFS via the config file...
|
4 years ago |
John-Mark Gurney
|
2bc771d771
|
get ready for running it as a command, for doing things like generating hashes, etc...
|
4 years ago |
John-Mark Gurney
|
6889d7a27f
|
add support for module ordering via config...
when a dictionary is missing a key, make sure it gets deleted when
test setting it...
|
4 years ago |
John-Mark Gurney
|
4a42d2622b
|
pull the version info from the module..
|
4 years ago |
John-Mark Gurney
|
b3c2d63757
|
add author and license information..
|
4 years ago |
John-Mark Gurney
|
699af38a90
|
simplify function, and make it so that aliases and hashes of the same
value return the same module, so the same code doesn't get imported
multiple times..
|
4 years ago |
John-Mark Gurney
|
a24fd63ae1
|
mkdir dirs as needed, make sure randpkg doesn't exist..
|
4 years ago |
John-Mark Gurney
|
64f1829862
|
add support for copying over the default config file... This is
in preparation to add support for configuring this module..
|
4 years ago |
John-Mark Gurney
|
5eee23b831
|
factor out common code into a function...
|
4 years ago |
John-Mark Gurney
|
50abefaceb
|
fix spelling of base...
|
4 years ago |
John-Mark Gurney
|
69472c666c
|
make sure that we only handle hash urls..
|
4 years ago |
John-Mark Gurney
|
337800a408
|
add test to make sure that when a bogus hash entry is entered, it gets caught
|
4 years ago |
John-Mark Gurney
|
ac26608e70
|
add support for loading via https urls...
|
4 years ago |
John-Mark Gurney
|
753e64f53c
|
rename load_aliases to load_mod_aliases, so that I can add a
load_aliases for raw data, such as non-package imports..
|
4 years ago |
John-Mark Gurney
|
95fb81abc1
|
minor notes..
|
4 years ago |
John-Mark Gurney
|
1fa247c5dc
|
add some more docs for the features that I've added so far..
|
4 years ago |
John-Mark Gurney
|
b2ebb6c3d5
|
mark a test function as no cover, and add a test to cover an error case
|
4 years ago |
John-Mark Gurney
|
715e4bc4b3
|
add IPFS loader support.. use cloudflare instead of the ipfs.io
one because the IPv6 address seems to hang often right now..
|
4 years ago |
John-Mark Gurney
|
6f195cb317
|
make lines shorter than 80 when possible..
|
4 years ago |
John-Mark Gurney
|
704597885e
|
add support for fetching from a related alias url when the data
isn't found in the cache..
|
4 years ago |
John-Mark Gurney
|
e253ae4cb3
|
add note about a future test...
|
4 years ago |
John-Mark Gurney
|
3f59caf9e9
|
add support for aliases, and loading package specific aliases...
|
4 years ago |
John-Mark Gurney
|
692f020e42
|
add support for parsing aliases...
|
4 years ago |
John-Mark Gurney
|
39a8b1b17a
|
add comment about loader priority
|
4 years ago |
John-Mark Gurney
|
37b69daaee
|
add some minor notes..
|
4 years ago |
John-Mark Gurney
|
162fbf5e79
|
add a bunch of docs... also make a method static that can be..
|
4 years ago |
John-Mark Gurney
|
09256d9c93
|
add coverage for when there isn't a loader..
|
4 years ago |
John-Mark Gurney
|
5a27da467b
|
create the default cache direcotry, and initalize it.. also,
currently always reread the cache directory, but this needs to be
fixed..
|
4 years ago |
John-Mark Gurney
|
d104b0d3ad
|
add with support (for testing), and add global instance, and handle it
|
4 years ago |
John-Mark Gurney
|
f52f0a6264
|
this import isn't needed..
|
4 years ago |
John-Mark Gurney
|
523e9498fb
|
add a few comments, and a disconnect method
|
4 years ago |
John-Mark Gurney
|
e3720f48de
|
add some notes on what should be done in the future
|
4 years ago |
John-Mark Gurney
|
b452daee30
|
add license
|
4 years ago |
John-Mark Gurney
|
de3e3f8dc8
|
initial work on making a cas importing system...
|
4 years ago |