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

option to include/exclude content from publishing #1188

Closed
Iwuaa opened this issue Jun 17, 2024 · 7 comments
Closed

option to include/exclude content from publishing #1188

Iwuaa opened this issue Jun 17, 2024 · 7 comments

Comments

@Iwuaa
Copy link

Iwuaa commented Jun 17, 2024

Vault is currently published as a whole, config options contentExclude, contentInclude are ignored

  // add any folders/files to be excluded from being published
  contentExclude: ['folder1/'],

  // if any folders/files included, then nothing else will be published by default
  contentInclude: ['folder2/*'],
@rufuspollock
Copy link
Member

@Iwuaa thanks for reporting. To confirm this in the cloud version?

@rufuspollock rufuspollock moved this from 🆕 New to 💬 Discussion in DataHub Jun 18, 2024
@rufuspollock
Copy link
Member

@lwuaa confirming - is this the cloud version?

@rufuspollock rufuspollock moved this from 💬 Discussion to 🏗 In progress in DataHub Jun 26, 2024
@rufuspollock
Copy link
Member

@olayway another one that overlaps with what we already have in Flowershow.

@rufuspollock rufuspollock moved this from 🏗 In progress to 📋 Backlog in DataHub Jul 10, 2024
@olayway olayway moved this from 📋 Backlog to ⛔ Blocked in DataHub Jul 11, 2024
@olayway
Copy link
Member

olayway commented Jul 11, 2024

Marking as blocked for now until we shape #1151

@olayway
Copy link
Member

olayway commented Jul 11, 2024

@Iwuaa Temporary workaround (if this is indeed DataHub Cloud) you could just add paths you don't want to be pushed to the repository by adding them to .gitignore file. https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

@olayway
Copy link
Member

olayway commented Aug 19, 2024

FIXED

@Iwuaa you should now be able to include/exclude files from publishing using contentInclude and contentExclude fields in the config file. Docs reference page coming soon.

@olayway olayway closed this as completed Aug 19, 2024
@github-project-automation github-project-automation bot moved this from ⛔ Blocked to ✅ Done in DataHub Aug 19, 2024
@Iwuaa
Copy link
Author

Iwuaa commented Aug 19, 2024

@olayway sorry for delayed response, I wasn't notified of you mentioning me. I'm not sure what is the cloud version and I'm not familiar with all your projects - I have my local obsidian vault, I copied flowershow repository as per the instructions here, so Vercel deploys my website.

I'm not sure how any changes you make are affecting my cloned repository, if it should be updated or if it should work as is. Do I need to use your cloud version in order for it to work? This is very confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants