You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(bundler): support gitignore-style negation in .juliabundleignore (#130) (#161)
`.juliabundleignore` now supports `.gitignore`-style negation. Patterns are
evaluated in file order and the last matching pattern wins: a plain pattern
excludes a path, and a `!`-prefixed pattern re-includes a path an earlier
pattern excluded. Comment (`#`) and blank lines are now skipped, and `\!` /
`\#` escape a literal leading `!` / `#`.
This lets users ignore everything and then add back only what they need, e.g.:
*
!programs/
!programs/*
!Project.toml
!Manifest.toml
Matching switches from an unordered set with an "excluded if any pattern
matches" test to an ordered rule list with last-match-wins semantics. With no
`!` rules the result is identical to the previous behavior, so existing
`.juliabundleignore` files are unaffected.
Note: because `Tar.create` prunes excluded directories, re-including a path
under a directory requires re-including the parent directory first (the same
limitation git has); this is documented.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
8
8
9
9
* The `expose` argument of `submit_job` now also accepts a `JuliaHub.JobRemoteAccess` object, which additionally allows configuring who can access the exposed port (`JuliaHub.JobAccessMode`) and a fixed DNS prefix for the job. Ports can now also be exposed on package application jobs. ([#154], [#158])
10
10
*`JuliaHub.PackageJob` now supports overriding the job image (`image`) and selecting which revision of the application to launch (`revision`, see `JuliaHub.PackageAppRevision`). ([#154])
11
+
*`.juliabundleignore` now supports `.gitignore`-style negation: a pattern starting with `!` re-includes paths excluded by an earlier pattern, with last-matching-pattern-wins semantics. Comment (`#`) and blank lines are also now skipped. ([#130])
0 commit comments