You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚩 2024-06-20 I've updated the repo names for the broken and working projects so working project is at the nice url. Broken is now ttps://datahub.io/@rufuspollock/jaan-tallinn-donations-broken. I've updated text below.
❓ Why not - shouldn't having frontmatter "just work" for being a dataset?
Move frontmatter out to datapackage.yaml
Try publishing again (auto-publishing in fact) ❌ still not working
So my guess here is that when it got initially published with just README and frontmatter it wasn't "seen" as a dataset project. And then even when the datapackage.yaml were added it didn't change the "type" of the project in the database (which is a 🐛)
Thoughts
we an add a nice new unit test for this in our ingest/processing code
Would be great to have a simple explicit way to designate the type of a project. Maybe a type frontmatter field in the main README. Can still have the magic inference too.
type may be a bit too generic (it gets used for everything). Maybe projectType or datahubType. That said type is simple and memorable!
❓ completely remove the "magic" and require explicit type setting
issue with this is that it is not compatible (and backwards compatible) with simple Frictionless datasets
The text was updated successfully, but these errors were encountered:
Daniellappv
changed the title
Not recognizing project as a dataset project if add datapackage after initial project create
🐛 Not recognizing project as a dataset project if add datapackage after initial project create
Jun 24, 2024
This is happening because there was no changes made to the corresponding README.md and so the sync workflow skipped it and its datapackage file wasn't processed. It will also happen if you make some changes to the datapackage that was previously correctly parsed if you don't make any changes to the README.md file (= datapackage changes won't go live). It's a bug of course.
IMO it's low priority as quite a rare bug so changing status.
olayway
changed the title
🐛 Not recognizing project as a dataset project if add datapackage after initial project create
Not recognizing project as a dataset project if add datapackage after initial project create
Jul 2, 2024
Bug description
Warning
🚩 2024-06-20 I've updated the repo names for the broken and working projects so working project is at the nice url. Broken is now ttps://datahub.io/@rufuspollock/jaan-tallinn-donations-broken. I've updated text below.
i've just published https://datahub.io/@rufuspollock/jaan-tallinn-donations-broken from https://github.com/rufuspollock/jaan-tallinn-donations - it should show up as a dataset project given i have a
datapackage.yaml
but that is not happening. Here's the result.I've now just created the site again new and it works 🎉 https://datahub.io/@rufuspollock/jaan-tallinn-donations
Debugging
OK, so i think the source here are the steps by which i created the repo. Steps were something like:
datapackage.yaml
So my guess here is that when it got initially published with just README and frontmatter it wasn't "seen" as a dataset project. And then even when the
datapackage.yaml
were added it didn't change the "type" of the project in the database (which is a 🐛)Thoughts
type
frontmatter field in the main README. Can still have the magic inference too.type
may be a bit too generic (it gets used for everything). MaybeprojectType
ordatahubType
. That saidtype
is simple and memorable!type
settingThe text was updated successfully, but these errors were encountered: