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 internal data store for the site output directory to the HydeKernel #906

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Feb 1, 2023

The variable location determining which directory the site is compiled to is moved from the Site facade to the HydeKernel.

Thanks to the accessors added in #902, this doesn't mess with the API (not that anyone has had time to use the new methods in the two hours since, but still)

I did not move the normalization forcing relative paths, as anyone messing with the HydeKernel should know what they're doing, but I might port the warning that the directory will be emptied (though I should double check if we need it since I'm pretty sure we warn if the directory seems unsafe) Edit: yeah there's a warning so all good. No need to add extra warnings IMO.

@caendesilva caendesilva changed the base branch from master to hydekernel-refactors February 1, 2023 20:25
@caendesilva caendesilva mentioned this pull request Feb 1, 2023
4 tasks
caendesilva added a commit that referenced this pull request Feb 1, 2023
@caendesilva caendesilva force-pushed the move-project-configuration-properties-to-the-hyde-kernel branch from ce3378e to c211342 Compare February 1, 2023 20:29
@codecov
Copy link

codecov bot commented Feb 1, 2023

Codecov Report

❗ No coverage uploaded for pull request base (hydekernel-refactors@59d2e50). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head ce3378e differs from pull request most recent head 96c5b5d. Consider uploading reports for the commit 96c5b5d to get more accurate results

@@                   Coverage Diff                    @@
##             hydekernel-refactors      #906   +/-   ##
========================================================
  Coverage                        ?   100.00%           
  Complexity                      ?      1283           
========================================================
  Files                           ?       147           
  Lines                           ?      3358           
  Branches                        ?         0           
========================================================
  Hits                            ?      3358           
  Misses                          ?         0           
  Partials                        ?         0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@caendesilva caendesilva marked this pull request as ready for review February 1, 2023 20:36
@caendesilva caendesilva merged commit e2c2492 into hydekernel-refactors Feb 1, 2023
@caendesilva caendesilva deleted the move-project-configuration-properties-to-the-hyde-kernel branch February 1, 2023 20:40
caendesilva added a commit that referenced this pull request Feb 2, 2023
HydeKernel refactors:

- Move internal data store for the site output directory to the HydeKernel #906
- Remove the $sourceRoot constructor parameter from the HydeKernel #907
- Add source root and output path to kernel array representation #908
- Rename HydeKernel property and accessors outputPath to outputDirectory #909
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