-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
nixos/drupal: config extend #428153
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
nixos/drupal: config extend #428153
Conversation
b2e1d0f to
cf6dedf
Compare
cf6dedf to
59f73fa
Compare
15fbf94 to
5407596
Compare
5407596 to
e6295a6
Compare
|
@NixOS/nix-formatting I'm working on this PR and I can't seem to get the formatting and linting tests to pass. I've run the following commands on my local, all within the root of nixpkgs, with the latest code from the
None of them have yielded any changes to the files I'm working on, which seems to indicate the formatting is correct. I've even rebased my commit a few times to make sure that wasn't the culprit. When using The failures (at least according to the job logs) don't appear to be related to this package. Any clue why this job keeps failing? |
|
@OulipianSummer this is not your fault. I believe these checks run not on the code in your branch, but instead on your branch if it were merged. With the nixfmt 1.0 upgrade, we recently changed our formatting rules, and now we have a bunch of PRs that are green from checks run before the upgrade. For example, your most recent CI failure complained about the formatting of I believe setting up github's merge queue is our plan to get PRs merged to main without breaking main. Until then, I guess we suffer. Unless there's some way to "expire" all these known stale checks? |
|
@jfly Thanks for that information. OK, I thought what I was looking at seemed unrelated, but it's good to know for sure. I've noticed that the logs have changed each time I push to this branch, so I assume this is sort of slowly getting resolved by other maintainers as we speak. I guess my strategy right now will be to just wait for the formatting errors to get resolved and then re-open and rebase my branch when that happens. A merge train/queue does sound like the fix for the future, but as for the old stuff I don't know of a way to expire jobs. Unless you add a new merge job that runs nxmt on everything before it gets merged and then figure out what fails from that, but that might just make a bigger problem. |
e6295a6 to
e0b8d5d
Compare
e0b8d5d to
950377a
Compare
950377a to
ab92e8b
Compare
ab92e8b to
5c3bf52
Compare
5c3bf52 to
ed75819
Compare
|
Thanks, amazing stuff ! |
|
Thanks again! |
This MR extends the available config options for Drupal.
There is a new
configSyncDirsetting that allows users to define the location of the config sync dir.There is also a new
extraConfigsetting that accepts raw PHP code that will be injected into the Drupalsettings.phpfile. The settings that users write to both attributes will automatically be available to Drupal.These changes help bring the Drupal service one step closer to being managed by the nix language and NixOS.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.