Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | upgrade gitlab CI, docs, and various scripts from postgresql 11 to 13 | Bryan Newbold | 2022-01-26 | 3 | -2/+3 |
| | | | | | | | | Expecting few if any compatibility issues with this transition. Actually upgrading the production databases will be some work, but will hopefully yield disk savings from changes in the B-Tree index on-disk format. | ||||
* | rust: handle database read-only mode (as 5xx errors, not 4xx) | Bryan Newbold | 2022-01-21 | 2 | -8/+16 |
| | |||||
* | rust: swith postgresql database to 'fatcat_dev' (distinct from 'fatcat_test') | Bryan Newbold | 2022-01-21 | 3 | -3/+3 |
| | |||||
* | codespell fixes to various other docs | Bryan Newbold | 2021-11-24 | 3 | -3/+3 |
| | |||||
* | bump rust code to 0.5.0 | Bryan Newbold | 2021-11-17 | 5 | -6/+7 |
| | |||||
* | rust: bump crate version and lockfile | Bryan Newbold | 2021-11-17 | 2 | -3/+3 |
| | |||||
* | rust: implement content_scope | Bryan Newbold | 2021-11-17 | 5 | -0/+22 |
| | |||||
* | SQL implementation of content_scope | Bryan Newbold | 2021-11-17 | 2 | -0/+36 |
| | |||||
* | codegen rust code for content_scope | Bryan Newbold | 2021-11-17 | 3 | -4/+19 |
| | |||||
* | api: add SQL 'ORDER BY' to many reads to stabilize API array ordering | Bryan Newbold | 2021-11-05 | 1 | -3/+14 |
| | | | | | | | | | | | | | | The hope is to make things like file entity URLs, fileset manifests, and other arrays in the JSON API "stable", meaning that if you create an entity with a list of a given order, a read back (in any environment, including prod/QA, bulk dumps, etc) will return the array with the same sort order. This was informally happening most of the time, but occasionally not (!) Assumption is that these sorts will have little or no performance impact, as the common case is less than a dozen elements, and the hard cases are a few thousand at most, and there is already a sorted index. | ||||
* | rust: expand valid hdl identifiers | Bryan Newbold | 2021-10-13 | 1 | -3/+7 |
| | | | | Based on real examples found on dblp.org | ||||
* | rust: partial test coverage of schema changes | Bryan Newbold | 2021-10-13 | 1 | -2/+32 |
| | |||||
* | rust: prep for possible DOI lowercase enforcement | Bryan Newbold | 2021-10-13 | 1 | -1/+5 |
| | | | | | | See also: https://github.com/internetarchive/fatcat/issues/83 This commit is no behavior change, just leaving a note to self. | ||||
* | rust: implement scheman and API changes | Bryan Newbold | 2021-10-13 | 5 | -38/+353 |
| | |||||
* | rust: handle new migrations in test helper | Bryan Newbold | 2021-10-13 | 1 | -1/+1 |
| | |||||
* | rust: implement recent SQL changes | Bryan Newbold | 2021-10-13 | 2 | -0/+12 |
| | |||||
* | fatcatd: display version correctly, and at startup | Bryan Newbold | 2021-10-13 | 1 | -2/+8 |
| | |||||
* | fatcat-api: enforce more release ext_id checks at create/update | Bryan Newbold | 2021-10-13 | 1 | -2/+15 |
| | | | | Not enforcing these was a serious bug! | ||||
* | sql: v0.4 schema implementation (as diesel migration) | Bryan Newbold | 2021-10-13 | 2 | -0/+58 |
| | |||||
* | bump rust code version to v0.4.0 | Bryan Newbold | 2021-10-13 | 3 | -5/+7 |
| | |||||
* | rust codegen for v0.4 | Bryan Newbold | 2021-10-13 | 8 | -25/+307 |
| | |||||
* | guide and openapi schema: fix QA URLs, and disclaim QA instance | Bryan Newbold | 2021-04-12 | 1 | -2/+2 |
| | |||||
* | rust: update Cargo.lock (openapi dep was updated) | Bryan Newbold | 2021-01-05 | 1 | -1/+1 |
| | |||||
* | rust makefile: rename 'dev' to 'serve' | Bryan Newbold | 2021-01-05 | 1 | -2/+2 |
| | |||||
* | rust openapi lib: bump version to v0.3.3 | Bryan Newbold | 2020-12-24 | 1 | -1/+1 |
| | |||||
* | rust: update lazy_static dependency | Bryan Newbold | 2020-12-24 | 3 | -35/+26 |
| | | | | | The motivation for this is to quiet very verbose warnings about some deprecated use of std::sync. Expect no actual runtime/behavior change. | ||||
* | rust: fix malformed ext id error type | Bryan Newbold | 2020-12-17 | 1 | -2/+2 |
| | | | | This bug was due to copy/paste of SHA-1 check | ||||
* | rust: rename and improve dblp key (id) syntax check | Bryan Newbold | 2020-12-17 | 2 | -9/+17 |
| | |||||
* | cargo: update sentry to fix memory initialization issue | Bryan Newbold | 2020-11-20 | 2 | -274/+332 |
| | | | | | | | | | | | | | | | | | | Older sentry had an unsafe memory initialization error, which wasn't caught by older compilers. Rust 1.48 catches the problem at runtime and raises a panic. This meant that new builds (eg, on QA machine after update) were panic-ing. Newest versions of sentry have modern dependencies, which breaks our crufty old 'iron' dependency tree. Work-around is to only partially update (v0.12 to v0.15). This is a fairly frustrating situation. I'm hopeful that when we update to a different web framework and openapi generator 5.0 (not yet released), many of these dependency issues will be resolved, but i'm not certain. I did notice that if we entirely remove Sentry, which has not really been used much (only a small handful of issues reported over several years), we might be able to resolve openssl dependency issues. | ||||
* | update fatcatd rust code for 'oai' external identifier | Bryan Newbold | 2020-11-19 | 4 | -11/+189 |
| | |||||
* | codegen rust schema crate | Bryan Newbold | 2020-11-19 | 6 | -3/+20 |
| | |||||
* | rustfmt | Bryan Newbold | 2020-11-19 | 5 | -87/+138 |
| | |||||
* | rust: fatcatd changes for DOAJ+dblp identifiers | Bryan Newbold | 2020-11-19 | 6 | -949/+1062 |
| | |||||
* | codegen rust crate for v0.3.3 | Bryan Newbold | 2020-11-19 | 8 | -227/+244 |
| | |||||
* | fatcat export: flush after batch, not per-line | Bryan Newbold | 2020-08-05 | 1 | -1/+1 |
| | | | | Good catch, thanks Martin | ||||
* | group-by-work mode for fatcat-export | Bryan Newbold | 2020-08-04 | 1 | -15/+157 |
| | |||||
* | rust Makefile: fix test command | Bryan Newbold | 2020-08-04 | 1 | -2/+1 |
| | |||||
* | updates to Makefile | Bryan Newbold | 2020-07-01 | 1 | -1/+1 |
| | |||||
* | remove accidentally-commited lines from rust Makefile | Bryan Newbold | 2020-06-26 | 1 | -3/+0 |
| | |||||
* | add work-in-progress Rust makefile | Bryan Newbold | 2020-05-26 | 2 | -2/+29 |
| | |||||
* | more TODO/proposal cleanup | Bryan Newbold | 2020-01-22 | 1 | -0/+4 |
| | |||||
* | fatcatd: fix corner-case in abstracts insertion | Bryan Newbold | 2020-01-15 | 1 | -1/+4 |
| | | | | | | | | | | | | | Both the release_abstract relation table and the abstracts table inserts were being gated by a check on new abstracts table rows. I *think* the chance of this having caused problems is low. The most likely would have been updates to exiting entities that somehow removed the abstracts content, but not the sha1 keys. This is not the default behavior of the API: either the entire abstract (content and hash) is returned, or the abstracts are hidden entirely (via `hide` flag). Still, best to be careful! | ||||
* | bump required rust to 1.36 | Bryan Newbold | 2019-12-03 | 1 | -1/+1 |
| | | | | | | | | | | | | This isn't a fatcat rust requirement, but instead a diesel requirement, via rust-smallvec, which in v1.0 uses the alloc crate: https://github.com/servo/rust-smallvec/issues/73 I think the reason this came up now is that diesel-cli is an application and doesn't have a Cargo.lock file, and the build was updated. Using some binary mechanism to install these dependencies would be more robust, but feels like a yak shave right now. | ||||
* | add 'component' as a release_type | Bryan Newbold | 2019-11-04 | 1 | -0/+1 |
| | |||||
* | update rust README with fatcat_test db creation note | Bryan Newbold | 2019-10-03 | 1 | -1/+4 |
| | |||||
* | update rust README re: openssl | Bryan Newbold | 2019-10-01 | 1 | -17/+1 |
| | | | | | | | | | I believe an openssl library is still required locally, but with the SSL/TLS removal it now doesn't matter if it is OpenSSL 1.0 or 1.1. This is only a temporary work-around. When we update rust code generation, we will need to revisit these changes. The current version of swagger-rs still depends on HTTPS and OpenSSL 1.0 (via dependencies). | ||||
* | entirely remove unused https flag to fatcatd | Bryan Newbold | 2019-09-29 | 1 | -15/+6 |
| | |||||
* | cargo update fatcat rust after openssl removal | Bryan Newbold | 2019-09-29 | 1 | -76/+32 |
| | |||||
* | remove 'client' and hyper-openssl options from fatcat-openapi rust crate | Bryan Newbold | 2019-09-29 | 1 | -3/+6 |
| | |||||
* | rust: use SPDX exact short license names | Bryan Newbold | 2019-09-18 | 2 | -2/+2 |
| |