Skip to content

Commit

Permalink
Reinstate dep_name as it's still used by RabbitMQ plugins
Browse files Browse the repository at this point in the history
It will be removed at a later date.
  • Loading branch information
essen committed Nov 21, 2024
1 parent 9376f53 commit 45c5306
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@
as well as Cowboy, Ranch, Gun and Cowlib remain
in the index.
2024/11/19: The deprecated defines `dep_fetch`, `dep_name`,
2024/11/19: The deprecated defines `dep_fetch`,
`dep_repo` and `dep_commit` have been removed
in favor of their `query_*` equivalents.
+
The deprecated define `dep_name` will be
removed at a later date to give time to
users to upgrade.
+
The deprecated legacy fetch method has also
been removed (`dep_cowboy = https://... ref`
Expand Down
4 changes: 4 additions & 0 deletions core/deps.mk
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ query_extra_fail = -

query_absolute_path = $(addprefix $(DEPS_DIR)/,$(call query_name,$1))

# Deprecated legacy query function. Used by RabbitMQ and its third party plugins.
# Can be removed once RabbitMQ has been updated and enough time has passed.
dep_name = $(call query_name,$(1))

# Application directories.

LOCAL_DEPS_DIRS = $(foreach a,$(LOCAL_DEPS),$(if $(wildcard $(APPS_DIR)/$a),$(APPS_DIR)/$a))
Expand Down

0 comments on commit 45c5306

Please sign in to comment.