{"id":51163294,"url":"https://github.com/gemmaro/flymake-sqlite","last_synced_at":"2026-06-26T16:02:27.591Z","repository":{"id":367169608,"uuid":"1279454307","full_name":"gemmaro/flymake-sqlite","owner":"gemmaro","description":"[MIRROR] Emacs Flymake backend for SQLite3.","archived":false,"fork":false,"pushed_at":"2026-06-24T21:24:23.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-24T22:10:23.117Z","etag":null,"topics":["emacs","flymake","sql","sqlite"],"latest_commit_sha":null,"homepage":"https://codeberg.org/gemmaro/flymake-sqlite","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemmaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-24T17:47:52.000Z","updated_at":"2026-06-24T21:24:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gemmaro/flymake-sqlite","commit_stats":null,"previous_names":["gemmaro/flymake-sqlite"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gemmaro/flymake-sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemmaro%2Fflymake-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemmaro%2Fflymake-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemmaro%2Fflymake-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemmaro%2Fflymake-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemmaro","download_url":"https://codeload.github.com/gemmaro/flymake-sqlite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemmaro%2Fflymake-sqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34823788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emacs","flymake","sql","sqlite"],"created_at":"2026-06-26T16:02:26.887Z","updated_at":"2026-06-26T16:02:27.585Z","avatar_url":"https://github.com/gemmaro.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flymake SQLite\n\nThis is a Flymake backend for SQLite.\n\nProject links: [repository][cb], [mirror][gh]\n\nIt can parse and check the SQL files; basically it checks the syntax\nand, if the database filename is specified, it checks whether tables\nand columns do exist or not.\n\nSee also the commentary section and docstrings in the package file.\n\n[cb]: https://codeberg.org/gemmaro/flymake-sqlite\n[gh]: https://github.com/gemmaro/flymake-sqlite\n\n## Install\n\nIt requires SQLite C interface (at least version 3.38.0 or later[^1]) to\nbuild the dynamic module.\n\n[^1]: Because this package requires `sqlite3_error_offset()`\n    introduced in the [3.38.0 on 2022-02-22][3-38-0].\n\nTo build the module, run `make`.  If you use GCC, `make CC=gcc` to\ncompile the dynamic module.  Some platform might requires additional\nadjustments, so please refer to the `Makefile`.\n\n[3-38-0]: https://sqlite.org/releaselog/3_38_0.html#:~:text=Added%20the%20sqlite3%5Ferror%5Foffset%28%29%20interface%2C%20which%20can%20sometimes%20help%20to%20localize%20an%20SQL%20error%20to%20a%20specific%20character%20in%20the%20input%20SQL%20text%2C%20so%20that%20applications%20can%20provide%20better%20error%20messages%2E\n\n## Change Log\n\n* 0.2.0 - 2026-06-25:\n  * Change: Try to use `require` first to load the module.\n  * Improve: error reporting range for logic errors.\n  * Improve: platform compatibility for dynamic module suffix (e.g. `.so`).\n* 0.1.0 - 2026-06-25: Initial release.\n\n## Development\n\nThere are some fixture files under the `fixtures` directory.  To\ncreate a dummy database for the okay case (`fixtures/ok1.sql`), run\n`./bin/setup`.  To check if the package works, run `./bin/start` and\nopen fixtures.\n\nCurrently no unit tests available.  I manually test these in addition\nto the basic check with `make check`:\n\n* Open fixture files for expected errors/no-errors.\n* Try edit a bit for okay files.  Sometimes this causes unexpected\n  error reporting.\n* Try to edit \u0026 save files.\n\n`tools/memo.c` is a C API playground.\n\nIf you are using Guix and Direnv, run `direnv allow .` to install\nnecessary packages.\n\nReferences: [SQLite C Interface][s], [My previous attempt to write a\nFlymake backend][pc]\n\n[pc]: https://github.com/flymake/emacs-flymake-perlcritic\n[s]: https://sqlite.org/c3ref/funclist.html\n\n## License\n\nCopyright (C) 2026  gemmaro\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemmaro%2Fflymake-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemmaro%2Fflymake-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemmaro%2Fflymake-sqlite/lists"}