GithubHelp home page GithubHelp logo

Comments (3)

resilar avatar resilar commented on August 15, 2024

Direct link to the latest amalgamation .zip/.tar.gz package of sqleet? No, I don't think GitHub supports that. I agree that this could be an useful feature and easy to implement using HTTP redirects. I'm not aware of any URL shortening/redirection service that is free and does not suck, so implementation is not going to happen anytime soonยน.

Do you have a specific use case in mind?


(1) sqleet is steadily reaching a state where a major version number increment to v1.x.y is justified in terms of stability and features. I'm considering building a (minimal) web page for sqleet and releasing it at the same time with version 1.x.y. This obviously then allows providing a direct link to the amalgamation packages.

from sqleet.

johnfound avatar johnfound commented on August 15, 2024

Well, I have created some kind of workaround. The idea is to obtain the latest amalgamation source:

  echo "Downloading latest SQLeet master branch archive..."
  { wget -q -O sqleet.zip https://github.com/resilar/sqleet/archive/master.zip; unzip -q sqleet.zip; rm sqleet.zip; } || { echo >&2 "Error: Can't download SQLeet sources."; exit 2;}
  cd ./sqleet-master
  echo "Building the amalgamation sqlite3.c ..."
  script/amalgamate.sh < ./sqleet.c > ../sqlite3.c
  cd ..
  rm -rf ./sqleet-master/ &

Hope this can be useful for someone.

EDIT: Better use .tar.gz instead of .zip:

  echo "Downloading latest SQLeet master branch archive..."
  { wget -q -O - https://github.com/resilar/sqleet/archive/master.tar.gz | tar -xz 2> /dev/null; } || { echo >&2 "Error: Can't download SQLeet sources."; exit 2;}
  cd ./sqleet-master
  echo "Building the amalgamation sqlite3.c ..."
  script/amalgamate.sh < ./sqleet.c > ../sqlite3.c
  cd ..
  rm -rf ./sqleet-master/ &

from sqleet.

resilar avatar resilar commented on August 15, 2024

Yeah, the lack of direct links is easy to overcome with shell scripting. Given git and a few extra commands, it is doable to fetch & build the latest release's amalgamation based on git tags.

Offering static links to the latest release amalgamations is still a worthwhile goal, so let's keep this issue open.

from sqleet.

Related Issues (20)

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.