Skip to content
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

add smina #13793

Merged
merged 24 commits into from
Jan 30, 2021
Merged

add smina #13793

merged 24 commits into from
Jan 30, 2021

Conversation

jaimergp
Copy link
Member

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml"
  • License file is packaged (see here for an example)
  • Source is from official source
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged)
  • If static libraries are linked in, the license of the static library is packaged.
  • Build number is 0
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details)
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there
  • When in trouble, please check our knowledge base documentation before pinging a team.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/smina) and found some lint.

Here's what I've got...

For recipes/smina:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [13]

For recipes/smina:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/smina) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/smina:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@jaimergp
Copy link
Member Author

@conda-forge/bioconda-recipes:

I am bringing this recipe here for the following reasons:

  • Package at bioconda repackages the sourceforge binaries, so there's no provenance
  • It's from 2017
  • I want to use the tooling at conda-forge for multiarch builds
  • I am planning on adding more packages that will depend on smina

Thanks!

@jaimergp jaimergp closed this Jan 27, 2021
@jaimergp jaimergp reopened this Jan 27, 2021
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/smina) and found some lint.

Here's what I've got...

For recipes/smina:

  • When defining a source/url please add a sha256, sha1 or md5 checksum (sha256 preferably).
  • When defining a source/url please add a sha256, sha1 or md5 checksum (sha256 preferably).

For recipes/smina:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/smina) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/smina:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/smina) and found some lint.

Here's what I've got...

For recipes/smina:

  • When defining a source/url please add a sha256, sha1 or md5 checksum (sha256 preferably).

For recipes/smina:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/smina) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipes/smina:

  • Recipe with the same name exists in bioconda: please discuss with @conda-forge/bioconda-recipes.

@jaimergp
Copy link
Member Author

@conda-forge/bioconda-recipes, @conda-forge/help-c-cpp, this is ready for review. See previous comment for the rationale of this submission.

Some details:

  • Official source exists at Sourceforge, which is git based, but doesn't offer a permalink for tarballs. Cloning the repo doesn't work on Windows for some reason. So I mirrored it to my GitHub profile and tagged it accordingly.
  • The CMake config needed some tweaks to support Windows.
  • I overrode the version.cpp autogeneration so it uses metadata from the recipe, instead of the (non-existing) git data.

@simonbray
Copy link
Member

Moving this from bioconda seems like a good idea to me. 👍 Don't know if you have any other view @bgruening?

Official source exists at Sourceforge, which is git based, but doesn't offer a permalink for tarballs.

It seems sourceforge does allows download of a 'snapshot'. For example, the latest revision can be accessed as a ZIP file via https://sourceforge.net/code-snapshots/git/s/sm/smina/code.git/smina-code-cbf423575b585a296171e3ee916d2d0f0d5dfb0a.zip.

@jaimergp
Copy link
Member Author

It seems sourceforge does allows download of a 'snapshot'.

They do, but it "expires" 🤯 See this log. You have to ask first in the /tarball endpoint, which is a dynamic piece of HTML that cannot be checksum'd. I tried the most creative workarounds (low-key proud of this one), but I concluded it created more problems than solved. So I decided to just mirror as needed. It's not that the repo has a huge traffic anyway.

@simonbray
Copy link
Member

Ah ok, it seems you already investigated this quite thoroughly. 😆 Then I agree that the GitHub mirror is the best solution.

Copy link
Member

@chrisburr chrisburr left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Is there anything that needs to be done by @conda-forge/bioconda-recipes before it's merged?

@simonbray
Copy link
Member

Is there anything that needs to be done by @conda-forge/bioconda-recipes before it's merged?

I created a PR to remove smina from the bioconda-recipes repo here: bioconda/bioconda-recipes#26483. However, it's fine for this PR to be merged already.

@chrisburr chrisburr merged commit 80821c6 into conda-forge:master Jan 30, 2021
@jaimergp
Copy link
Member Author

Thanks @chrisburr and @simonbray!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants