Closed nkkko closed 2 weeks ago
/bounty $10
/attempt #20
with your implementation plan/claim #20
in the PR body to claim the bountyIf no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.
Please respect others by working on PRs that you are allowed to submit attempts to.
e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.
If you can not submit an attempt, you will not receive your payout.
Thank you for contributing to daytonaio/devcontainer-generator!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟢 @mobley-trent | Oct 10, 2024, 5:30:06 AM | #32 |
/attempt #20
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@mobley-trent | 3 daytonaio bounties + 7 bounties from 4 projects |
Python, Rust, Jupyter Notebook |
Cancel attempt |
Hello @nkkko I'm currently getting this error while attempting to run Generate
for any repo:
Traceback (most recent call last):
File "/workspaces/devcontainer-generator/main.py", line 112, in post
exists, existing_record = check_url_exists(repo_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/devcontainer-generator/helpers/github_helpers.py", line 148, in check_url_exists
existing = supabase.table("devcontainers").select("*").eq("url", url).order("created_at", desc=True).limit(1).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.local/lib/python3.12/site-packages/postgrest/_sync/request_builder.py", line 78, in execute
raise APIError(r.json())
postgrest.exceptions.APIError: {'code': '42P01', 'details': None, 'hint': None, 'message': 'relation "public.devcontainers" does not exist'}
From my understanding the program is checking for values in a supabase db, but I didn't see any instructions for configuring supabase.
Yes, readme needs to be updated, check .env example you should be able to test it with your supabase account, you just need to set it up.
💡 @mobley-trent submitted a pull request that claims the bounty. You can visit your bounty board to reward.
🎉🎈 @mobley-trent has been awarded $10! 🎈🎊
Is your feature request related to a problem? Please describe. New users may struggle to understand how the tool works without having an example repository to test. Providing a prefilled dropdown or a button with example repositories will make it easier for users to get started and understand the generation process without needing their own repository URL initially.
Describe the solution you'd like
Describe alternatives you've considered
Additional context Include relevant example repositories that cover a range of common use cases. Make sure to test the functionality to ensure it's seamless and provides a good user experience. This feature will enhance onboarding and user engagement by making it easier to see the tool in action.