Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Towards tweaselORG/tracker-wiki#15: Add a script to generate adapter example data from the database #56

Merged
merged 4 commits into from
Jun 11, 2024

Conversation

zner0L
Copy link
Contributor

@zner0L zner0L commented Nov 22, 2023

This is a function we need in tracker-wiki, however, we already defined all the necessary code here and in tracker-wiki we copy the repository anyway, so I felt like putting the script in here instead of duplicating the code across our repositories.

@zner0L zner0L requested a review from baltpeter November 22, 2023 16:04
.gitignore Outdated Show resolved Hide resolved
scripts/lib/debug.ts Outdated Show resolved Hide resolved
scripts/lib/debug.ts Outdated Show resolved Hide resolved
scripts/lib/debug.ts Outdated Show resolved Hide resolved
scripts/lib/debug.ts Outdated Show resolved Hide resolved
scripts/generate-example-data.ts Outdated Show resolved Hide resolved
scripts/lib/debug.ts Outdated Show resolved Hide resolved
baltpeter added a commit to tweaselORG/tracker-wiki that referenced this pull request Jan 11, 2024
@zner0L zner0L force-pushed the z_generate_examples branch from b3026d0 to efc69ae Compare February 2, 2024 12:39
@zner0L zner0L requested a review from baltpeter February 2, 2024 12:39
scripts/lib/test-data.ts Outdated Show resolved Hide resolved
zner0L added 3 commits June 11, 2024 16:19
This includes a bug fix in `scripts/lib/debug.ts` (line 29 to 42):
The requests from datasette need to be reformatted first before they can be filtered
because the `match()` function might depend on the content being a string.
@zner0L zner0L force-pushed the z_generate_examples branch from efc69ae to 95ecc01 Compare June 11, 2024 14:34
@zner0L zner0L requested a review from baltpeter June 11, 2024 14:34
baltpeter
baltpeter previously approved these changes Jun 11, 2024
@zner0L zner0L merged commit 50053e7 into main Jun 11, 2024
@zner0L zner0L deleted the z_generate_examples branch June 11, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants