Giter Club home page Giter Club logo

heroku-buildpack-calibre's People

Contributors

matiaskorhonen avatar rogerg9999 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rogerg9999 pawitp

heroku-buildpack-calibre's Issues

Calibre is not added to the path

I think that this line

export PATH="$BUILD_DIR/calibre:$PATH"
is not working as expected.

After executing:

heroku run /bin/bash
echo $PATH

I get /usr/local/bin:/usr/bin:/bin (no /app/calibre).

I think the proper way to add something to the path is shown here https://github.com/heroku/heroku-buildpack-php/blob/cd2d13992b72d049aa270d4b745aae6329e0c037/bin/compile#L115 and described here https://devcenter.heroku.com/articles/buildpack-api#example-profile-d-mybuildpack-defaults-sh

Specify the exact version of Calibre when installing

Thank your for creating this builpack - it helped me a lot!

What do you think about an option to specify the exact version of Calibre which should be installed? When using this buildpack Calibre is installed from scratch on every deploy and as a new version of Calibre is released, it will be automatically "upgraded".

It looks like the linux-installer.py provides a way to install a different version than the latest one - https://github.com/kovidgoyal/calibre/blob/0cb677fb90f2302a3b8fea48b60b946207f429b2/setup/linux-installer.py#L16 We could set CALIBRE_INSTALLER_LOCAL_URL to http://download.calibre-ebook.com/2.62.0/calibre-2.62.0-x86_64.txz (for example).

The value of CALIBRE_INSTALLER_LOCAL_URL could be read from Heroku config variables as described here https://devcenter.heroku.com/articles/buildpack-api#buildpack-api -> ENV_DIR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.