AOSC-Archive / abbs

AutoBuild Build Service, a configuration/manifest manager for Autobuild
https://aosc.io
GNU General Public License v2.0
1 stars 1 forks source link

Add support for package linking. #3

Open Artoria2e5 opened 9 years ago

Artoria2e5 commented 9 years ago

Since we are adding support for splitting in autobuild3, we need to specify something to help abbs navigate to the parent package. We have two choices for this:

  1. Symlink + Readlink. This makes the source tree clean, and I like it.
  2. Special Field in abbs spec. This is like using #REDIRECT in MediaWiki.

This may also help with default providing, like using bash as default for sh. However, advanced provided by functions requires some extra work, like going through the list of providers and look for the first one that has no conflict with current packages.

MingcongBai commented 9 years ago

Or simply link the directories...

Artoria2e5 commented 9 years ago

@MingcongBai That is the symlink stuff.

MingcongBai commented 9 years ago

@Arthur2e5 Well it can do it now can't it?