-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuild bam-readcount recipe #52212
Rebuild bam-readcount recipe #52212
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -6,11 +6,11 @@ package: | |||||||
version: {{ version }} | ||||||||
|
||||||||
source: | ||||||||
url: https://github.com/genome/{{ name }}/archive/v{{ version }}.tar.gz | ||||||||
sha256: 8ebf84d9efee0f2d3b43f0452dbf16b27337c960e25128f6a7173119e62588b8 | ||||||||
git_url: https://github.com/genome/bam-readcount.git | ||||||||
git_rev: v{{ version }} | ||||||||
Comment on lines
+9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider using tarball URL instead of git source for better reproducibility Using VCS URLs in conda recipes can lead to reproducibility issues. It's recommended to use a tarball URL with a sha256 hash instead. Apply this diff to improve build reproducibility: - git_url: https://github.com/genome/bam-readcount.git
- git_rev: v{{ version }}
+ url: https://github.com/genome/bam-readcount/archive/v{{ version }}.tar.gz
+ sha256: # Add the appropriate sha256 hash here
|
||||||||
|
||||||||
build: | ||||||||
number: 2 | ||||||||
number: 3 | ||||||||
run_exports: | ||||||||
- {{ pin_subpackage('bam-readcount', max_pin="x") }} | ||||||||
|
||||||||
|
@@ -20,6 +20,9 @@ requirements: | |||||||
- cmake | ||||||||
- {{ compiler('cxx') }} | ||||||||
- {{ compiler('c') }} | ||||||||
- autoconf | ||||||||
- automake | ||||||||
- libtool | ||||||||
host: | ||||||||
- zlib | ||||||||
- pthread-stubs | ||||||||
|
@@ -39,11 +42,15 @@ about: | |||||||
license_file: LICENSE | ||||||||
summary: "bam-readcount generates metrics at single nucleotide positions." | ||||||||
dev_url: "https://github.com/genome/bam-readcount" | ||||||||
doc_url: "https://github.com/genome/bam-readcount/blob/master/README.md" | ||||||||
doc_url: "https://github.com/genome/bam-readcount/blob/v{{ version }}/README.md" | ||||||||
|
||||||||
extra: | ||||||||
additional-platforms: | ||||||||
- linux-aarch64 | ||||||||
- osx-arm64 | ||||||||
identifiers: | ||||||||
- doi:10.21105/joss.03722 | ||||||||
- biotools:bam-readcount | ||||||||
skip-lints: | ||||||||
- uses_vcs_url | ||||||||
- missing_hash | ||||||||
Comment on lines
+54
to
+56
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Remove skip-lints by fixing the source configuration These lint skips are only necessary because of the git source usage. They can be removed by switching back to a tarball URL with sha256 hash as suggested earlier. - skip-lints:
- - uses_vcs_url
- - missing_hash 📝 Committable suggestion
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix command substitution quoting
The command substitution should be quoted to prevent word splitting issues if the path contains spaces.
Apply this fix:
📝 Committable suggestion
🧰 Tools
🪛 Shellcheck
[warning] 7-7: Quote this to prevent word splitting.
(SC2046)