Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

PM: Weaker dependencies than PKGRECOM #58

Open
Artoria2e5 opened this issue Aug 16, 2015 · 6 comments
Open

PM: Weaker dependencies than PKGRECOM #58

Artoria2e5 opened this issue Aug 16, 2015 · 6 comments
Labels

Comments

@Artoria2e5
Copy link
Contributor

RPM has three levels of dependencies, Requires, Recommends and Suggests.

Recommends will let PM try to resolve its dependencies, while Suggests doesn't.

MingcongBai pushed a commit that referenced this issue Aug 18, 2015
- Currently optional for both DPKG and RPM
- No version info will be provided by default
@jiegec
Copy link

jiegec commented Aug 18, 2015

Maybe suggests -> optional is better? Recommends is similar to suggests

@MingcongBai
Copy link
Contributor

@jiegec This is a set Package Manager function, not anything we can change here.

@Artoria2e5
Copy link
Contributor Author

Wait, does dpkg has suggests?

I think this should be

# dpkg
[ "$PKGSUG" || "$PKGRECOM" ] && dpkgfield Recommends $PKGSUG $PKGRECOM
# rpm
$(rpmopttag Recommends $PKGRECOM)
# blah

@Artoria2e5 Artoria2e5 reopened this Aug 18, 2015
@Artoria2e5
Copy link
Contributor Author

And @jiegec , It's still possible to call it a different name in autobuild. If it sounds better, we should use it.

@MingcongBai
Copy link
Contributor

Wait, does dpkg has suggests?

Yes it does. Refer to the packaging policy.

@MingcongBai
Copy link
Contributor

It's still possible to call it a different name in autobuild.

But should we?

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

No branches or pull requests

3 participants