Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | builder: Use non-parallel-make option instead of looking at .NONPARALLEL | Alexander Larsson | 2016-02-01 | 1 | -13/+21 | |
| | ||||||
* | builder: Add shell source | Alexander Larsson | 2016-02-01 | 4 | -0/+264 | |
| | | | | This lets you run shell commands to modify the source | |||||
* | builder: Style fixes | Alexander Larsson | 2016-01-28 | 1 | -11/+12 | |
| | ||||||
* | builder: Skip checking out disabled submodules | Michael Spencer | 2016-01-28 | 1 | -0/+13 | |
| | ||||||
* | Fix include order to build with older libsoup versions | Alexander Larsson | 2016-01-28 | 1 | -1/+1 | |
| | ||||||
* | builder: support using appstream-compose to create appstream files | Alexander Larsson | 2016-01-22 | 1 | -0/+74 | |
| | ||||||
* | builder: Add spew when commiting to cache | Alexander Larsson | 2016-01-22 | 1 | -0/+2 | |
| | ||||||
* | builder: Add some spew before build-init | Alexander Larsson | 2016-01-22 | 1 | -0/+2 | |
| | ||||||
* | builder: Add platform-extensions | Alexander Larsson | 2016-01-20 | 1 | -15/+47 | |
| | ||||||
* | builder: Support sdk-extensions | Alexander Larsson | 2016-01-20 | 1 | -12/+46 | |
| | ||||||
* | builder: Put debuginfo in the right place for runtimes | Alexander Larsson | 2016-01-20 | 1 | -2/+2 | |
| | ||||||
* | build-finish: Fix exports | Alexander Larsson | 2016-01-19 | 2 | -3/+6 | |
| | | | | This was reading an unintialized variable | |||||
* | builder: Remove leftover debug spew | Alexander Larsson | 2016-01-19 | 1 | -1/+0 | |
| | ||||||
* | builder: Fix error with va_start use | Alexander Larsson | 2016-01-19 | 1 | -1/+1 | |
| | ||||||
* | Remove unused variables | Alexander Larsson | 2016-01-19 | 2 | -5/+0 | |
| | ||||||
* | builder: Handle modules with invalid refname characters in the cache | Alexander Larsson | 2016-01-19 | 1 | -1/+18 | |
| | ||||||
* | cache: Don't fail to create cache if parent dir is not created | Alexander Larsson | 2016-01-18 | 1 | -0/+5 | |
| | ||||||
* | builder: Fix random crash due to uninitialized memory | Alexander Larsson | 2016-01-18 | 1 | -0/+1 | |
| | ||||||
* | Builder: Support commiting a platform | Alexander Larsson | 2016-01-18 | 9 | -16/+390 | |
| | ||||||
* | builder: Allow building runtime sdks (based on existing sdk) | Alexander Larsson | 2016-01-18 | 6 | -33/+153 | |
| | | | | | | | | | | | | This includes a few different changes: * Add build-runtime boolean property * Rename "app-id" property to "id" * Add metadata property to use a custom base metadata file * Default to writable-sdk to TRUE for runtimes * Default prefix to /usr for runtimes * Put manifest in usr for runtimes * Pick up debuginfo from usr for runtimes * Make build-finish work on runtimes, but only export appdata | |||||
* | builder: Correctly handling non-existing app dir when applying cache | Alexander Larsson | 2016-01-18 | 1 | -2/+4 | |
| | ||||||
* | cache: Remove target directory before checking out cache | Alexander Larsson | 2016-01-17 | 1 | -0/+3 | |
| | | | | This will be empty anyway, and if its there the checkout fails. | |||||
* | builder: Don't delete the APPDIR directory | Sam Thursfield | 2016-01-17 | 3 | -2/+22 | |
| | | | | | | | | | | | | | | | | A new user might think that APPDIR is the location of the app to be built, and run something like `xdg-app-builder . ./manifest`. This could silently the user's entire project that they are trying to package, which is not acceptable at all! Even if you think it is their fault for not reading the manual first! This commit means that APPDIR is no longer deleted. Instead, xdg-app-builder checks whether it is empty and, if it is not, it asks the user to delete the contents and then rerun it. This means you now have to do `rm -Rf APPDIR; xdg-app-builder APPDIR MANIFEST` when developing your manifest, but I think that's better than having a build tool that can optionally delete your whole project. | |||||
* | builder: Add some spew when downloading files | Alexander Larsson | 2016-01-14 | 1 | -0/+1 | |
| | ||||||
* | builder: Also apply cleanup to changes in usr | Alexander Larsson | 2016-01-14 | 5 | -21/+28 | |
| | ||||||
* | builder: Change the way the cache is indexed | Alexander Larsson | 2016-01-13 | 4 | -12/+73 | |
| | | | | | | | Instead of a single ref we use one ref per stage (init, build module X, cleanup, finish). This means we don't have to iterate in the cache lookup, and it also means we get clean refs for each stage so one can easily inspect the differences between the stages. | |||||
* | builder: Add support for rename-appdata-file option | Alexander Larsson | 2016-01-12 | 1 | -3/+74 | |
| | ||||||
* | builder: Fix up cleanup matching | Alexander Larsson | 2016-01-12 | 1 | -47/+42 | |
| | ||||||
* | builder: Fix handling of builddir | Alexander Larsson | 2016-01-12 | 1 | -1/+4 | |
| | ||||||
* | builder: Add some more spew when exporting | Alexander Larsson | 2016-01-12 | 1 | -0/+4 | |
| | ||||||
* | builder: Don't break if ccache not enabled. | Alexander Larsson | 2016-01-12 | 1 | -2/+5 | |
| | ||||||
* | builder: Pass --body, --subject and --gpg-sign to build-export | Alexander Larsson | 2016-01-12 | 1 | -0/+21 | |
| | ||||||
* | builder: Add option to enable ccache use in build | Alexander Larsson | 2016-01-12 | 5 | -13/+93 | |
| | ||||||
* | builder: Run builds in /run/build/$modulename | Alexander Larsson | 2016-01-12 | 1 | -16/+26 | |
| | | | | | This creates repeatable builds for anything that leaves the build dir in the resulting files, such as debug info. | |||||
* | builder: Add support for exporting with --repo=foo | Alexander Larsson | 2016-01-11 | 4 | -5/+91 | |
| | ||||||
* | builder: Create metadata.debuginfo if debug info exists | Alexander Larsson | 2016-01-11 | 1 | -0/+19 | |
| | ||||||
* | common: Move path_match_prefix to common | Alexander Larsson | 2016-01-11 | 1 | -67/+2 | |
| | ||||||
* | builder: Match debuginfo files against regular cleanup patterns | Alexander Larsson | 2016-01-11 | 1 | -9/+63 | |
| | | | | I.e. if /lib/foo is cleaned, also clean /lib/debug/lib/foo.debug | |||||
* | builder: Pass down global cleanups via BuildContext | Alexander Larsson | 2016-01-11 | 5 | -44/+64 | |
| | ||||||
* | builder: Pass down keep-build-dirs via BuildContext | Alexander Larsson | 2016-01-11 | 7 | -7/+22 | |
| | ||||||
* | builder: Break out helpers for path matching | Alexander Larsson | 2016-01-11 | 3 | -52/+79 | |
| | ||||||
* | builder: Add support for separating out debuginfo | Alexander Larsson | 2016-01-11 | 9 | -77/+278 | |
| | ||||||
* | builder: Use libelf to detect elf files | Alexander Larsson | 2016-01-11 | 4 | -93/+122 | |
| | | | | This additionally looks for already stripped files | |||||
* | builder: Print all files removed by cleanup | Alexander Larsson | 2016-01-11 | 1 | -0/+1 | |
| | ||||||
* | builder: Add --disable-updates | Alexander Larsson | 2015-12-21 | 13 | -8/+28 | |
| | | | | Download sources, but never update existing sources (like git or bzr). | |||||
* | apps: Use "branch", not "version" when talking about app branches | Alexander Larsson | 2015-12-17 | 1 | -10/+10 | |
| | ||||||
* | builder: Add cleanup-command property | Alexander Larsson | 2015-12-16 | 1 | -1/+78 | |
| | | | | This allows you to do some custom cleanup operations | |||||
* | builder: Store the cache in BARE_USER mode | Alexander Larsson | 2015-12-16 | 1 | -1/+6 | |
| | | | | | | | | | | This has two advantages: 1) If building as non-root, then we can't modify xattrs, such as selinux ones, yet selinux will write then, making a bare repo not match the checksums (it has unexpected xattrs that selinux made) 2) We check out as MODE_NONE, not MODE_USER, which in combination with BARE_USER forces the files to be copied out of the cache, rather than using hardlinks into the cache which could mutate the cache. | |||||
* | builder: Don't fsync on cache checkouts | Alexander Larsson | 2015-12-16 | 1 | -0/+4 | |
| | ||||||
* | builder: Support writable-sdk option | Alexander Larsson | 2015-12-15 | 1 | -0/+19 | |
| |