100 lines
No EOL
3.9 KiB
JSON
100 lines
No EOL
3.9 KiB
JSON
{
|
|
"uuid": [
|
|
{
|
|
"value": "be54db98-b7b3-4d44-9354-5b827d90d8fe"
|
|
}
|
|
],
|
|
"langcode": [
|
|
{
|
|
"value": "en"
|
|
}
|
|
],
|
|
"type": [
|
|
{
|
|
"target_id": "daily_email",
|
|
"target_type": "node_type",
|
|
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
|
|
}
|
|
],
|
|
"revision_timestamp": [
|
|
{
|
|
"value": "2025-04-21T01:21:19+00:00"
|
|
}
|
|
],
|
|
"revision_uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"revision_log": [],
|
|
"status": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"uid": [
|
|
{
|
|
"target_type": "user",
|
|
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
|
}
|
|
],
|
|
"title": [
|
|
{
|
|
"value": "Don't use global dependencies"
|
|
}
|
|
],
|
|
"created": [
|
|
{
|
|
"value": "2025-02-01T00:00:00+00:00"
|
|
}
|
|
],
|
|
"changed": [
|
|
{
|
|
"value": "2025-04-21T01:21:19+00:00"
|
|
}
|
|
],
|
|
"promote": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"sticky": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"default_langcode": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"revision_translation_affected": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"path": [
|
|
{
|
|
"alias": "\/daily\/2025\/02\/01\/global-dependencies",
|
|
"langcode": null
|
|
}
|
|
],
|
|
"body": [
|
|
{
|
|
"value": "\n <p>I recently watched a YouTube video of someone working on their software.<\/p>\n\n<p>Everything was working locally, but things were breaking in their CI pipeline.<\/p>\n\n<p>The issue was their CI environment had different versions of the software than the one they were using locally.<\/p>\n\n<p>To get the same results locally and in CI, you need your dependencies to be the same.<\/p>\n\n<p>The same versions of languages, such as PHP and nodejs, and packages like PHPStan, PHPUnit, Jest or eslint.<\/p>\n\n<p>Dependencies should be installed with a package manager that generates a lock file like composer.lock or package-lock.json, so use these versions instead of installing versions globally that may be different.<\/p>\n\n<p>For PHP or nodejs, I'd suggest using Docker or Nix, <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/01\/20\/reproducible\">which has its own lock file<\/a>, to make your environment as reproducible and consistent as possible.<\/p>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>I recently watched a YouTube video of someone working on their software.<\/p>\n\n<p>Everything was working locally, but things were breaking in their CI pipeline.<\/p>\n\n<p>The issue was their CI environment had different versions of the software than the one they were using locally.<\/p>\n\n<p>To get the same results locally and in CI, you need your dependencies to be the same.<\/p>\n\n<p>The same versions of languages, such as PHP and nodejs, and packages like PHPStan, PHPUnit, Jest or eslint.<\/p>\n\n<p>Dependencies should be installed with a package manager that generates a lock file like composer.lock or package-lock.json, so use these versions instead of installing versions globally that may be different.<\/p>\n\n<p>For PHP or nodejs, I'd suggest using Docker or Nix, <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/01\/20\/reproducible\">which has its own lock file<\/a>, to make your environment as reproducible and consistent as possible.<\/p>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "2025-04-21T01:21:19+00:00",
|
|
"guid": null,
|
|
"hash": "b60d151157449fcffc7aa384bd9a81c7",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |