marmalade-upload

Upload packages to Marmalade https://github.com/lunaryorn/marmalade-upload

Latest on Hackage:0.10

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Sebastian Wiesner

marmalade-upload

Available on Hackage License MIT Build Status

Haskell tool to upload packages to the Emacs package archive Marmalade.

Installation

Binaries

Binaries for OS X and Linux are available on the download page.

To install, unzip the archive, and move the contained marmalade-upload file somewhere into $PATH, e.g.:

$ unzip <path/to/downloaded/file.zip>
$ sudo cp ./marmalade-upload /usr/local/bin
$ sudo chmod 755 /usr/local/bin/marmalade-upload

The binaries are statically linked and to not require a Haskell installation or any Haskell libraries.

Building from Hackage

Install Haskell Platform and type the following command to install marmalade-upload from source:

$ cabal install marmalade-upload

Don't forget to add ~/.cabal/bin to $PATH.

Building from source

Install Haskell Platform and type the following commands:

$ cabal sandbox init
$ cabal install --only-dependencies
$ cabal configure -f development
$ cabal exec ./build.hs -- install

This will install the binary to ~/bin/marmalade-upload. To choose a different prefix:

$ cabal exec ./build.sh -- --prefix=/usr/local install

Usage

$ marmalade-upload USERNAME PACKAGE

Your password will be stored in the keychain of supported systems. Currently the keychains of KDE and OS X are supported.

License

Copyright (c) 2014 Sebastian Wiesner

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Changes

0.10 (Oct 26, 2014)

  • Use TLS to connect to Marmalade

0.9 (Jul 8, 2014)

  • Turn username argument into an option
  • Prompt for a username if no username is given
  • Remember the username in ~/.emacs.d/marmalade-upload.json

0.8.1 (Jun 5, 2014)

  • Fix upper dependency boundary
  • Remove redundant build flag

0.8 (Jun 5, 2014)

  • Bump dependencies
  • Try harder to show reasonable error descriptions

0.7 (Apr 28, 2014)

  • Improve the help output and the semantics of -V/--version
  • Remove mimetype verification

0.6 (Apr 21, 2014)

  • Update to http-client 0.3
  • Replace failure with exceptions
  • Build against libmagic for mimetype detection
  • Replace cmdArgs with optparse-applicative
  • Add unit tests

0.5.2 (Apr 12, 2014)

  • Add support for GHC 7.8

0.5.1 (Apr 11, 2014)

  • Drop aggressive optimization flags

0.5 (Apr 2, 2014)

  • Use the keyring module from Hackage

0.4 (Apr 1, 2014)

  • Replace DBus binding due to licensing issues
  • Check for password presence before reading from KWallet

0.3 (Mar 31, 2014)

  • Use Security framework to access Keychain by native code, instead of calling the security tool
  • Use DBus API to access KWallet

0.2 (Mar 29, 2014)

  • Fix minor issues
  • Refactoring

0.1 (Mar 28, 2014)

Initial release

comments powered byDisqus