GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sifteo/parcel: Package management using a file server and path conventions.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
package.json
package.json
 
 

Repository files navigation

Parcel

Parcel is easy package management using a file server and path conventions, with built in support for Amazon S3. It is designed to encode package metadata, including name, version and OS within a path. The conventions allow this metadata to be queried, without the need for a database.

Install

$ npm install parcel -g

Install for development:

$ git clone [email protected]:sifteo/parcel.git
$ cd parcel
$ npm link

Usage

Command Line

To publish a package, invoke the command:

$ parcel publish repo.json MyApp-v1.0.1.dmg -p macosx.json

The first argument is a file containing repository configuration. An example repo.json for an S3 repository would look like:

{
    "url": "s3://updates.example.com/stable/",
    "pattern": ":name/:os/:version/:filename",
    "accessKeyId": "INSERT_ACCESS_KEY_ID_HERE",
    "secretAccessKey": "INSERT_SECRET_ACCESS_KEY_HERE"
}

url contains the url of the S3 repository, and pattern declares the path conventions in use. Properties of the package will be substitued into this pattern when uploading the package.

Parcel can infer many properties of the package. The optional -p argument allows properties to be declared explicitly.

{
  "name": "my-app",
  "os": "macosx",
  "pattern": "MyApp-v:version.dmg"
}

Once packages are published, they can be queried:

$ parcel query repo.json my-app

$ parcel query repo.json [email protected]

API

The command line interface is built on top of an API. Parcel can be required as a module, and this API can be used programmatically.

Related Modules

  • kerouac-parcel-appcast — generate appcasts from package repositories

Tests

$ npm install
$ make test

License

Apache License, Version 2.0

Copyright (c) 2013 Sifteo Inc. <http://www.sifteo.com/>

About

Package management using a file server and path conventions.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

5 stars

Watchers

5 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.