Skip to content
Snippets Groups Projects
This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/. Pull mirroring failed .
Last successful update .
  1. Feb 20, 2018
  2. Feb 15, 2018
  3. Feb 14, 2018
  4. Feb 10, 2018
  5. Feb 09, 2018
    • Ludovic Courtès's avatar
      utils: 'non-blocking' forwards exceptions to the calling fiber. · ef3801b3
      Ludovic Courtès authored
      * src/cuirass/utils.scm (%non-blocking): Forward exceptions to the
      calling fiber.
      ef3801b3
    • Ludovic Courtès's avatar
      database: Use argument binding in 'db-get-builds' queries. · 8c7c9392
      Ludovic Courtès authored
      That makes it safe from SQL injection.
      
      * src/cuirass/database.scm (db-get-builds): Rewrite to use question
      marks in SQL queries and binding through '%sqlite-exec'.
      * tests/database.scm ("database")["db-get-builds"]: Exercise 'WHERE'
      clauses.
      8c7c9392
    • Ludovic Courtès's avatar
      database: Handle binding directly in 'sqlite-exec'. · b0c39b31
      Ludovic Courtès authored
      The new macro automatically takes care of inserting question marks in
      the SQL queries, which in turn guarantees that there are always as many
      question marks and arguments.
      
      * src/cuirass/database.scm (sqlite-exec): Rename to...
      (%sqlite-exec): ... this.
      (sqlite-exec/bind, sqlite-exec): New macros.
      (assq-refs): Remove.
      (db-add-specification): Use the new 'sqlite-exec' form.
      (db-get-specifications): Correctly deal with REV or TAG being #f.
      (db-add-derivation, db-get-derivation, db-add-evaluation)
      (db-add-build, db-update-build-status!, db-get-outputs)
      (db-get-build, db-get-stamp, db-add-stamp): Adjust to the new
      'sqlite-exec' form.
      b0c39b31
  6. Feb 08, 2018
  7. Feb 06, 2018
  8. Jan 31, 2018
  9. Jan 30, 2018
  10. Jan 29, 2018
  11. Jan 28, 2018
  12. Jan 27, 2018
Loading