Commit Graph

14 Commits

Author SHA1 Message Date
Pascal Hartig
d40ccc8786 Update flipper-runtime icon in server app bundle
Summary: Changelog: When requesting Keychain Access, you will now see "flipper-runtime" instead of a generic "node" process.

Reviewed By: lblasa

Differential Revision: D50261830

fbshipit-source-id: ef6fd7d5099c4ff7370f0401a5de3fde1659f1f3
2023-10-13 09:01:21 -07:00
Pascal Hartig
a711a578b1 Add build target for M1 mac
Summary: We didn't define the build for aarch64 locally previously, so packer didn't know how to bundle it up. Since it shares the layout of x64, we will also save on CDN resources because it will automatically get deduplicated.

Reviewed By: lblasa, antonk52

Differential Revision: D46144879

fbshipit-source-id: 20087010db02d3965ed0c5d4add72e0b19849d13
2023-05-24 04:13:07 -07:00
Pascal Hartig
6913d6f653 Allow arbitrary packs
Summary:
The limitation to two types is arbitrary and limiting. Instead, we want to be able to create as many cache artifacts as is sensible to improve the caching behaviour.

A lot of unnecessary cloning in here. I might optimise this a bit in the future but it's not really perf critical as this is highly I/O bound.

Reviewed By: lblasa

Differential Revision: D38155922

fbshipit-source-id: 78b86ebff54269c5049e59197f1c25fedfad0111
2022-07-27 07:43:12 -07:00
Pascal Hartig
d73387d80b Add pack target for server linux
Summary: This is needed so we can roll out releases of Flipper Server for Linux.

Reviewed By: lawrencelomax

Differential Revision: D38155968

fbshipit-source-id: 2be032466cb8da867fa555fa545d1f236724461f
2022-07-27 07:43:12 -07:00
Pascal Hartig
274c0a242e Update mac server bundle layout
Summary: Take changes from D36140809 into account.

Reviewed By: aigoncharov

Differential Revision: D36206155

fbshipit-source-id: 794f8dd60e47f14acc4fb5fd9fd3d98fa5afdadf
2022-05-09 04:19:55 -07:00
Pascal Hartig
b4bddcb7de Add server-mac-x64 definition
Summary: Just this one for now as I can actually test that this works.

Reviewed By: lblasa

Differential Revision: D35902244

fbshipit-source-id: 9914c58968b4f9dfd25be7afaf6d89dffaad294a
2022-04-26 03:29:40 -07:00
Pascal Hartig
3c6a5c58f9 Move basedir to config file
Summary: This allows us to extend this more easily to server builds, too.

Reviewed By: lblasa

Differential Revision: D35901750

fbshipit-source-id: 7030846ad485d709cf4c2e95f0cad287f98b051b
2022-04-26 03:29:40 -07:00
Pascal Hartig
fa97809178 Implement glob packing mode
Summary:
Best seen by looking at the packfile. This makes upgrades and changes
to the file format a lot more robust.

Reviewed By: priteshrnandgaonkar

Differential Revision: D27194152

fbshipit-source-id: a722adb3a59d73b7530287f7abd84ed865a35fa7
2021-03-23 13:28:14 -07:00
Pascal Hartig
ca55e68c89 Set up infra for different packing mode
Summary:
Electron 12 broke packing again because one file was renamed. I'm now setting up a separate mode for using globs and ignores to create artifact bundles. This will work like a reverse gitignore file. However, to keep the logic simple, I'll keep the old mode for MacOS where the folder structure lends itself to comprehensive, exact lists.

**This doesn't actually change anything just yet apart from the "packfile" format. The next diff will add the new packing mode. Feedback is always welcome but there's no need for super close scrutiny.**

Reviewed By: mweststrate

Differential Revision: D27191506

fbshipit-source-id: 663cef8b93eef6c2dbb56ef66de51ea9551412dd
2021-03-23 13:28:14 -07:00
Pascal Hartig
844c3e3a1c Update packlist for Linux
Summary:
Electron 12 renamed one .so and broke the build.
Time to implement T83339637.

Reviewed By: fabiomassimo

Differential Revision: D27155174

fbshipit-source-id: a034f79cacb5c27b62cc6b51c9899a3d3a227954
2021-03-18 05:12:43 -07:00
Pascal Hartig
9cf80f60d7 Add PACK definitions for Linux
Summary: Exluded the license files because we don't need them.

Reviewed By: mweststrate

Differential Revision: D25995326

fbshipit-source-id: 8b42c69b75f33ca345d9e3b1310fef0fd928ea82
2021-01-21 10:00:16 -08:00
Pascal Hartig
7ed56949f3 Add PACK definitions for Windows
Summary:
This adds the definitions for how to split up Windows releases.
This only works with the previous change because otherwise
the Flipper.exe will change with every release build number.

Reviewed By: mweststrate

Differential Revision: D25977814

fbshipit-source-id: 4fb9d4e9562dedf43f9e9ec90a49801f60ed4550
2021-01-21 03:43:17 -08:00
Pascal Hartig
f00cd2964e Move main Info.plist to core bundle
Summary:
This does actually change from version to version as can be seen
when bundling both 0.40 and 0.41:

{F236391778}

Reviewed By: jknoxville

Differential Revision: D21426528

fbshipit-source-id: 53c0565f7693010a2096088af1829eab210a75cc
2020-05-07 07:22:53 -07:00
Pascal Hartig
155a8c6952 Initial packer project
Summary:
This is a tool (right now more a script, really) for splitting a Flipper distribution into smaller chunks that can be individually cached, hashed and downloaded. It's incomplete but can already bundle up Mac apps into smaller chunks that can be merged back again into one app.

It takes a config file that specifies how to slice the inputs up and comes with a default copy bundled in. That's in line with the general "design" where it tries to make the right assumptions, for instance defaulting to the normal dist output directory.

Reviewed By: jknoxville

Differential Revision: D21302551

fbshipit-source-id: b22670ff4825ce526dd0f20320f87080c058cd93
2020-05-01 04:04:48 -07:00