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

Move sublime into config module #2580

Open
wants to merge 6 commits into
base: next
Choose a base branch
from
Open

Conversation

bemyak
Copy link
Contributor

@bemyak bemyak commented Jul 19, 2024

This is maybe a bit of controversial change, but I stumbled upon inability to build my crate (which depends on some parts of Zola) using Nix. The problem is that Nix builds every crate in an isolated environment, but since the config component depends on sublime files outside its crate root, the build fails.

I discussed the issue with a person who maintains the rust harness for Nix, and he suggested fixing it in Zola: ipetkov/crane#666 (comment)
There's a bit more info attached there.

Hope you will consider these changes 😊
It would also make publishing Zola's subcrates to crates.io a bit more feasible.


Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you doing the PR on the next branch?

Keats and others added 6 commits June 24, 2024 23:04
* Refine YAML date regex

This commit does a few changes:

- Introduce a new regex
  - it is a bit off-spec (it allows one-digit months and days in date-only mode)
  - uses named groups
  - avoids group duplication
- parses offset once

Fixes getzola#2538

* Fix nanosecond parsing

* Rename variables for brewity

* Add tests
Having a crate depend on files outside of its directory
breaks building Zola as a dependency using Nix
@Keats
Copy link
Collaborator

Keats commented Aug 15, 2024

I think it's fine? I can't think of issues caused by that.

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.

3 participants