grsmv / sllar-server Goto Github PK
View Code? Open in Web Editor NEWServer side of meta package manager
License: MIT License
Server side of meta package manager
License: MIT License
Rading package tar and giving it away with proper headers.
Create and show path to it in solar-server info
output
Give users an instruction how to upload their first package if no package uploaded at server.
Module doesn't needed in defaultFields
, unusedFields
and correct
top-level functions. They could be removed with build-in Aeson functionnality ((.:?)
)
Package should be received, unpacked for getting all needed information.
Info from .sllar
file and correct structire of folder should be checked.
If it's OK - store info in packages.json
, copy package to packages
.
If it's not - send error to client and delete tmp files.
sllar publish
in forlder with distr/package.tar
Package -> Package/Import
ExposedPackage -> Package/Export
Some strange behaviour of tar library. In some cases it give away "bad tar trailer" message.
Source code:
http://hackage.haskell.org/packages/archive/tar/0.4.0.1/doc/html/src/Codec-Archive-Tar-Read.html
Tthrough sllar init
+ sequence of questions in command line
This needed for non-hack testing for both cabal packages in Travis CI
Linked with #13
Collect and store information about all packages, available at server.
installed_packages.json
Code should be warning-free
Take a look at PIP's way to do this.
Packages should be encrypted with some two-way encryption algorithm.
sllar env
sllar pack
sllar update
-> calling to all known server and getting lists of packages. Storing them to share/packages.json
Current state: stopped
Port: 5002
Packages in repo: 300
Data folder: (...)/sllar-server-0.0.0.1/share/
Packages folder: ├── packages/
Config file: ├── config
PID file: └── tmp/sllar-server.pid
OK, TIMEOUT, FAILED_CHECKSUM or UNKNOWN_ERROR
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.