Skip to content

Commit

Permalink
Merge pull request #172 from oxinabox/ox/keep_reading
Browse files Browse the repository at this point in the history
Keep reading from DEPOT_PATH (but don't write to by default)
  • Loading branch information
oxinabox authored Feb 13, 2024
2 parents fc543b4 + 6e63ab6 commit 8fdc7ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DataDeps"
uuid = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
authors = ["Frames White <[email protected]>"]
version = "0.7.12"
version = "0.7.13"

[deps]
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
Expand Down
6 changes: 2 additions & 4 deletions src/locations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
## Core path determining stuff

const standard_loadpath = joinpath.([
homedir(); # Common all systems
# NOTE: the scratchspace is pushed to the front during __init__()
Base.DEPOT_PATH; homedir(); # Common all systems

@static if Sys.iswindows()
vcat(get.(Ref(ENV),
Expand All @@ -15,9 +16,6 @@ const standard_loadpath = joinpath.([
"/usr/share", "/usr/local/share"] # Unix Filestructure
end], "datadeps")

# NOTE: the scratchspace is pushed to the front during __init__()


# ensure at least something in the loadpath exists when instaleld
mkpath(first(standard_loadpath))

Expand Down

2 comments on commit 8fdc7ce

@oxinabox
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/100734

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.13 -m "<description of version>" 8fdc7ce424377f246f1b5900277def7256bfaada
git push origin v0.7.13

Please sign in to comment.