Commit Graph

10 Commits

Author SHA1 Message Date
Aayush
f41435d285 feat: bundle: only write git tags for newly packed bundles 2023-02-17 14:17:30 -05:00
mike seiler
4dedced175 lintfix 2023-02-17 11:52:40 -07:00
mike seiler
dbcf30470f clean up comment remove print 2023-02-17 11:16:40 -07:00
mike seiler
0f6cbf1be2 include the version that pack is running on for filtering the build gen metadata 2023-02-16 14:01:45 -07:00
mike seiler
ea03e1b6e7 only override the correct version for bundle gen 2023-02-16 13:10:25 -07:00
mike seiler
16b7d4525f lintfix 2023-02-16 10:40:16 -07:00
mike seiler
3e678f2abc support network name overrides in pack to build releases 2023-02-16 10:33:47 -07:00
Aayush
83bce7c94f disable adding git tags to bundle metadata 2023-02-10 17:58:57 -05:00
Mike Seiler
ea82f554be add bundle git tag from pack.sh into builtin_actors_gen 2023-02-07 02:23:23 +00:00
Steven Allen
30981d0fdd
feat: refactor: actor bundling system (#8838)
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
   metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
    1. We're no longer downloading the bundle, so doing anything ahead
       of time doesn't really help.
    2. We register the manifests on init because, unfortunately, they're
       global.
    3. We explicitly load the current actors bundle in the genesis
       state-tree method.
    4. For testing, we just change the in-use bundle with a bit of a
       hack. It's not great, but using dependency injection doesn't make
       any sense either because, again, the manifest information is
       global.
    5. Remove the bundle.toml file. Bundles may be overridden by
       specifying an override path in the parameters file, or an
       environment variable.

fixes #8701
2022-06-13 10:15:00 -07:00