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 greedy #28069

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Add greedy #28069

wants to merge 18 commits into from

Conversation

Dhananjhay
Copy link
Contributor

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.
  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.
  • 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.

Copy link

Hi! This is the staged-recipes linter and I found some lint.

File-specific lints and/or hints:

  • recipes/greedy/meta.yaml:
    • lints:
      • Feedstock with the same name exists in conda-forge.
      • The following maintainers have not yet confirmed that they are willing to be listed here: pyushkevich. Please ask them to comment on this PR if they are.

@conda-forge-admin
Copy link
Contributor

conda-forge-admin commented Oct 31, 2024

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/greedy/meta.yaml) and found some lint.

Here's what I've got...

For recipes/greedy/meta.yaml:

  • There are too few lines. There should be one empty line at the end of the file.
  • This recipe is using a compiler, which now requires adding a build dependence on {{ stdlib("c") }} as well. Note that this rule applies to each output of the recipe using a compiler. For further details, please see META: {{ stdlib("c") }} migration conda-forge.github.io#2102.

Copy link

Hi! This is the staged-recipes linter and your PR looks excellent! 🚀

@conda-forge-admin
Copy link
Contributor

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/greedy/meta.yaml) and found it was in an excellent condition.

@conda-forge-admin
Copy link
Contributor

conda-forge-admin commented Oct 31, 2024

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/greedy/meta.yaml) and found some lint.

Here's what I've got...

For recipes/greedy/meta.yaml:

@conda-forge-admin
Copy link
Contributor

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/greedy/meta.yaml) and found it was in an excellent condition.

@Dhananjhay
Copy link
Contributor Author

@conda-forge/help-c-cpp ready for review please!

Comment on lines +3 to +10
# A dummy greedy repo is cloned because CMakeLists.txt requires
# .git dir

# Clone the repository into a temporary directory
git clone https://github.com/pyushkevich/greedy /tmp/greedy

# Change to the directory where the source is located
cd /tmp/greedy
Copy link
Member

Choose a reason for hiding this comment

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

You should patch the sources rather than doing this.

Also the current implementation of this completely ignores the version number and just takes the latest version of the sources.

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

Successfully merging this pull request may close these issues.

3 participants