Skip to content

Commit fc6efad

Browse files
authored
chore: add UTM links to changelog and newsletter for Dune Developer Preview (#3161)
Doing this manually to get more visibility on traffic on preview.dune.build's Plausible instance. Could be automated through a middleware, if it proves useful.
1 parent 7b9fb45 commit fc6efad

7 files changed

+12
-12
lines changed

data/changelog/posts/dune-developer-preview/2024-09-25-call-for-feedback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tags: [dune, platform, developer-preview]
55

66
Hello folks! 👋
77

8-
We'd like to welcome everyone to try and play with the [Dune Developer Preview](https://preview.dune.build)! 🎉
8+
We'd like to welcome everyone to try and play with the [Dune Developer Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog)! 🎉
99

1010
This experimental nightly release of dune includes a lot of improvements, including the much expected package management features, and it can be installed from that website or by using the new installation script:
1111

data/changelog/posts/dune-developer-preview/2024-10-29-shell-completions-in-dune-developer-preview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ tags: [dune, developer-preview]
66
_Discuss this post on [Discuss](https://discuss.ocaml.org/t/shell-completions-in-dune-developer-preview/15522)!_
77

88
Support for dune shell completions for bash and zsh has just landed in the
9-
[Dune Developer Preview](https://preview.dune.build/)!
9+
[Dune Developer Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog)!
1010

11-
Running the [installer](https://preview.dune.build/#download) adds a snippet to
11+
Running the [installer](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog#download) adds a snippet to
1212
your shell config (e.g. ~/.bashrc) that installs a completion handler for `dune`.
1313
The completion script was taken from
1414
[here](https://github.com/gridbugs/dune-completion-scripts), and that page has

data/changelog/posts/dune-developer-preview/2024-11-15-installing-developer-tools-with-dune.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _Discuss this post on [Discuss](https://discuss.ocaml.org/t/installing-developer
77

88
Dune can install and run developer tools in the context of a project. This
99
feature is available in the [Dune Developer
10-
Preview](https://preview.dune.build/) and in the upcoming release of Dune 3.17.
10+
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) and in the upcoming release of Dune 3.17.
1111
As with all of Dune's package management features, consider this feature to be unstable as
1212
its UI and semantics may change without notice.
1313

@@ -93,7 +93,7 @@ to OCaml's editor integration and it has a couple of quirks that are worth
9393
mentioning here.
9494

9595
TL;DR: Install Dune with the install script on the [Developer Preview
96-
page](https://preview.dune.build/) and you'll get an [`ocamllsp` shell
96+
page](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) and you'll get an [`ocamllsp` shell
9797
script](https://github.com/ocaml-dune/binary-distribution/blob/main/tool-wrappers/ocamllsp)
9898
that will install and run the correct version of `ocamllsp` for your project.
9999

@@ -184,7 +184,7 @@ if it doesn't detect a Dune lockdir so the same script should work for non-Dune
184184
projects. Because the script is named the same as the `ocamllsp` executable,
185185
most editors don't require special configuration to run it. See the "Editor
186186
Configuration" section of the [Dune Developer
187-
Preview page](https://preview.dune.build/) for more information about setting up
187+
Preview page](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) for more information about setting up
188188
your editor.
189189

190190

data/changelog/posts/dune-developer-preview/2025-05-19-portable-lock-directories-for-dune-package-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags: [dune, developer-preview]
66
_Discuss this post on [Discuss](https://discuss.ocaml.org/t/portable-lock-directories-for-dune-package-management/16669)!_
77

88
We've recently made a change to how lock directories work in the [Dune Developer
9-
Preview](https://preview.dune.build/).
9+
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog).
1010

1111
Previously when Dune would solve dependencies for a project and generate a lock
1212
directory, the lock directory would be specialized for the computer where it was
@@ -125,7 +125,7 @@ filename.
125125
## How do I get it?
126126

127127
This feature is live in the latest version of the [Dune Developer
128-
Preview](https://preview.dune.build/). Follow the instructions on that page to
128+
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog). Follow the instructions on that page to
129129
install a version of Dune with this feature. With portable lock directories
130130
enabled, Dune will temporarily remain backwards compatible with the original
131131
lock directory format, though support will likely be dropped at some point.

data/changelog/posts/dune-developer-preview/2025-06-05-portable-external-dependencies-for-dune-package-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ projects or their dependencies. Currently this information is not portable
1111
because Dune only stores the names of system packages within the package
1212
repository on the machine where the lock directory is generated. We've recently
1313
changed how Dune stores the names of system packages in the [Dune Developer
14-
Preview](https://preview.dune.build/) so that the names of packages in all
14+
Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog) so that the names of packages in all
1515
known package repositories are stored. This allows a lock directory generated
1616
on one machine to be used on a different machine.
1717

@@ -231,4 +231,4 @@ be computed on demand rather than just at solve time.
231231
This bring us a step closer to a world where Dune users can check their lock
232232
directories into version control with confidence that their builds are
233233
reproducible across different platforms. To try out the latest version of the
234-
Dune Developer Preview, go to [preview.dune.build](https://preview.dune.build/).
234+
Dune Developer Preview, go to [preview.dune.build](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=changelog).

data/news/platform/platform-2024-12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Recent updates across the platform focus on performance and reliability. Dune op
5050

5151
[Dune 3.17 was released](https://discuss.ocaml.org/t/ann-dune-3-17/15770) with significant improvements to package management. Key features include binary distribution support, better error messages for missing packages, and Windows support without requiring OPAM.
5252

53-
The [Dune Developer Preview website](https://preview.dune.build) now provides editor setup instructions and package management tutorials.
53+
The [Dune Developer Preview website](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=news) now provides editor setup instructions and package management tutorials.
5454

5555
Dune's package management features [were tested across hundreds of packages](https://dune.check.ci.dev/) in the opam repository, and a coverage tool was developed to track build success rates. For local development, Dune added support for building dependencies via `@pkg-install`, caching for package builds, and automated binary builds of development tools. The system supports both monorepo and polyrepo workflows, with options for installing individual dependencies or complete development environments.
5656

data/news/platform/platform-2025-04.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Technical barriers have been and are being systematically addressed, e.g. improv
7272

7373
### **Dune Developer Preview**
7474

75-
[Dune Developer Preview](https://preview.dune.build/) is an experimental channel that introduces cutting-edge features to streamline OCaml development workflows. Building upon Dune's foundation as OCaml's official build system, this initiative allows us to iterate quickly on ideas and experiment with improving the developer experience and with experimental features. For example, one feature that came out of Dune Developer Preview and made it into the upstream codebase is package management: by enabling Dune to deal with project dependencies, we eliminate the need to juggle multiple tools.
75+
[Dune Developer Preview](https://preview.dune.build?utm_source=ocaml.org&utm_medium=referral&utm_campaign=news) is an experimental channel that introduces cutting-edge features to streamline OCaml development workflows. Building upon Dune's foundation as OCaml's official build system, this initiative allows us to iterate quickly on ideas and experiment with improving the developer experience and with experimental features. For example, one feature that came out of Dune Developer Preview and made it into the upstream codebase is package management: by enabling Dune to deal with project dependencies, we eliminate the need to juggle multiple tools.
7676

7777
The tooling includes built-in LSP support, formatting capabilities, and a shared cache that dramatically improves build performance. Early adopters are encouraged to [provide feedback](https://docs.google.com/forms/u/2/d/e/1FAIpQLSda-mOTHIdATTt_e9dFmNgUCy-fD55Qzr3bGGsxpfY_Ecfyxw/viewform?usp=send_form) as these experimental features mature toward stable releases.
7878

0 commit comments

Comments
 (0)