aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tryton.scm
blob: e03f86f25a8a7432a1b4e4c8a1b7635cffbdda07 (about) (plain)
blob size (138KB) exceeds display size limit (100KB).
l block during the handshake. I've noticed this blocking during the handshake causing issues in the build coordinator for example. This commit adds a new with-store variant to avoid changing the behaviour of with-store/open-connection to ensure that this change can't break anything that depends on the blocking nature of the socket. * guix/store.scm (open-unix-domain-socket, open-inet-socket): Take #:non-blocking? and use SOCK_NONBLOCK when calling socket if appropriate. (connect-to-daemon, open-connection, call-with-store): Take #:non-blocking? and pass it on. (with-store/non-blocking): New syntax rule. * .dir-locals.el (scheme-mode): Add entry for with-store/non-blocking. Change-Id: I8225762b78448bc1f7b698c8de5d736e13f577bf 2024-05-13.dir-locals: Configure indentation for swap-space.Tomas Volf * .dir-locals.el (scheme-mode): Indent swap-space same as file-system. Change-Id: Id9f2cbd3c81343b479ab1e4df29c65f8b5bd739f Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2024-04-03store: database: Remove with-statement and associated code.Christopher Baines I think using dynamic-wind to finalize all statements is the wrong approach. Firstly it would be good to allow reseting statements rather than finalizing them. Then for the problem of handling errors, the approach I've settled on in the build coordinator is to close the database connection, since that'll trigger guile-sqlite3 to finalize all the cached statements. This reverts commit 5d6e2255286e591def122ec2f4a3cbda497fea21. * .dir-locals.el (scheme-mode): Remove with-statement. * guix/store/database.scm (call-with-statement): Remove procedure. (with-statement): Remove syntax rule. (call-with-transaction, last-insert-row-id, path-id, update-or-insert, add-references): Don't use with-statement. Change-Id: I2fd976b3f12ec8105cc56350933a953cf53647e8 2024-04-03store: database: Remove call-with-savepoint and associated code.Christopher Baines While care does need to be taken with making updates or inserts to the ValidPaths table, I think that trying to ensure this within update-or-insert is the wrong approach. Instead, when working with the store database, only one connection should be used to make changes to the database and those changes should happen in transactions that ideally begin immediately. This reverts commit 37545de4a3bf59611c184b31506fe9a16abe4c8b. * .dir-locals.el (scheme-mode): Remove entries for call-with-savepoint and call-with-retrying-savepoint. * guix/store/database.scm (call-with-savepoint, call-with-retrying-savepoint): Remove procedures. (update-or-insert): Remove use of call-with-savepoint. Change-Id: I2f986e8623d8235a90c40d5f219c1292c1ab157b 2023-10-20.dir-locals.el: Adjust indentation rule for ‘test-assertm’.Ludovic Courtès This reverts commit 92755c6352fd967bc74d8e5354aad057d779b717, which, at the time, was correct for the 3-argument ‘test-assertm’ macro in ‘tests/pack.scm’ but incorrect for the 2-argument variant found in other test files. * .dir-locals.el: Decrease argument count for ‘test-assertm’. 2023-09-17.dir-locals.el: Update bug-reference configuration and document it.Maxim Cournoyer (nil) <bug-reference-url-format>: Update URL. Add comment. * doc/contributing.texi (The Perfect Setup): New "Viewing bugs within Emacs" subsection. Co-authored-by: Brian Cully <bjc@spork.org> 2023-09-06.dir-locals: Streamline Geiser configuration.Maxim Cournoyer Geiser now has support locating the project root and adding it to the load path without external help; leverage it. * .dir-locals.el [nil]: Remove obsolete Geiser configuration. Set the geiser-repl-per-project-p variable to t. * doc/contributing.texi (The Perfect Setup): No longer mention explicitly setting the geiser-guile-load-path; instead mention the effect of the .dir-locals.el file. Reported-by: Wolf <wolf@wolfsden.cz> 2023-06-04records: Add MATCH-RECORD-LAMBDA.(unmatched-parenthesis ew syntax * guix/records.scm (match-record-lambda): New syntax. * tests/records.scm ("match-record-lambda"): New test. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz> 2023-06-04dir-locals: Fix MATCH-RECORD indentation.(unmatched-parenthesis d * .dir-locals.el: Treat the fourth form onwards as the body, rather than the third onwards. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz> 2023-03-17Revert gexp->derivation and computed-file indentation rules.Maxim Cournoyer This reverts b1c25e2ce364741d1c257d3bb3ab773032807a80 and partially reverts 82daab42811a2e3c7684ebdf12af75ff0fa67b99, which means the computed-file and gexp->derivation procedures are now indented as normal procedures. Rationale: see the discussion at https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00008.html. In a nutshell: the convention is to use special rules for special forms (macros), not for procedures. * .dir-locals.el (scheme-mode): Remove the special indentation rules for the computed-file and gexp->derivation procedures. 2023-03-05.dir-locals.el: Allow Guix root-dir overrides when working via Tramp.Brian Cully * .dir-localsl.el: Add only the local part of the root directory to the guile search path. This lets you use Tramp to hack on a remote Guix checkout. Signed-off-by: Leo Famulari <leo@famulari.name> 2023-02-19.dir-locals: Add let-keywords indentation rules.Maxim Cournoyer * .dir-locals.el (scheme-mode): Add let-keywords indentation rules. 2023-02-02.dir-locals.el: Adjust indentation rule for test-assertm.Maxim Cournoyer * .dir-locals.el: Adjust the scheme-indent-function property for test-assertm, so that the two first arguments (the test name and the store variable) are indented as procedure arguments. 2023-02-02.dir-locals.el: Add indentation rule for computed-file.Maxim Cournoyer * .dir-locals.el: Configure scheme-indent-function property for computed-file, so that its first argument (the file name) is indented as a procedure argument. 2022-09-07.dir-locals.el: Update yas snippets directory.Andrew Tropin * .dir-locals.el (eval): Update yas snippets directory. 2022-09-05.dir-locals.el: Add .go to completion-ignored-extensions.Andrew Tropin * .dir-locals.el (eval): Add .go to completion-ignored-extensions. 2022-09-05.dir-locals.el: Add guix yasnippets.Andrew Tropin * .dir-locals.el (eval): Add guix yasnippets. 2022-07-10monads: Add 'mparameterize'.Ludovic Courtès * etc/system-tests.scm (mparameterize): Move to... * guix/monads.scm (mparameterize): ... here. * tests/monads.scm ("mparameterize"): New test. * .dir-locals.el (c-mode): Add it. 2022-07-10.dir-locals.el: Restore Emacs 27 lisp-fill-paragraph behavior.Maxim Cournoyer * .dir-locals.el (scheme-mode): Set fill-paragraph-function to a lisp-fill-paragraph version that matches that of Emacs 27. 2022-06-28.dir-locals.el: Properly indent 'wrap-script'.Maxim Cournoyer * .dir-locals.el (scheme-mode): Indent 'wrap-script' the same way as 'wrap-program'. 2022-06-07.dir-locals: Adjust to bug-reference-mode in Emacs 28.Ludovic Courtès * .dir-locals.el: Adjust 'bug-reference-bug-regexp' and 'bug-reference-url-format' to Emacs 28. 2022-03-06import: github: Reuse HTTP connection for the /tags URL fallback.Ludovic Courtès * guix/import/github.scm (fetch-releases-or-tags): Call 'open-connection-for-uri' and reuse the same connection for the two 'http-fetch' calls. * .dir-locals.el (scheme-mode): Add 'call-with-port'. 2022-03-06tests: Add (guix http-client) tests.Ludovic Courtès * tests/http-client.scm: New file. * Makefile.am (SCM_TESTS): Add it. * .dir-locals.el (scheme-mode): Add 'with-http-server'.