summaryrefslogtreecommitdiff
path: root/builder
Commit message (Collapse)AuthorAgeFilesLines
...
* builder: Use non-parallel-make option instead of looking at .NONPARALLELAlexander Larsson2016-02-011-13/+21
|
* builder: Add shell sourceAlexander Larsson2016-02-014-0/+264
| | | | This lets you run shell commands to modify the source
* builder: Style fixesAlexander Larsson2016-01-281-11/+12
|
* builder: Skip checking out disabled submodulesMichael Spencer2016-01-281-0/+13
|
* Fix include order to build with older libsoup versionsAlexander Larsson2016-01-281-1/+1
|
* builder: support using appstream-compose to create appstream filesAlexander Larsson2016-01-221-0/+74
|
* builder: Add spew when commiting to cacheAlexander Larsson2016-01-221-0/+2
|
* builder: Add some spew before build-initAlexander Larsson2016-01-221-0/+2
|
* builder: Add platform-extensionsAlexander Larsson2016-01-201-15/+47
|
* builder: Support sdk-extensionsAlexander Larsson2016-01-201-12/+46
|
* builder: Put debuginfo in the right place for runtimesAlexander Larsson2016-01-201-2/+2
|
* build-finish: Fix exportsAlexander Larsson2016-01-192-3/+6
| | | | This was reading an unintialized variable
* builder: Remove leftover debug spewAlexander Larsson2016-01-191-1/+0
|
* builder: Fix error with va_start useAlexander Larsson2016-01-191-1/+1
|
* Remove unused variablesAlexander Larsson2016-01-192-5/+0
|
* builder: Handle modules with invalid refname characters in the cacheAlexander Larsson2016-01-191-1/+18
|
* cache: Don't fail to create cache if parent dir is not createdAlexander Larsson2016-01-181-0/+5
|
* builder: Fix random crash due to uninitialized memoryAlexander Larsson2016-01-181-0/+1
|
* Builder: Support commiting a platformAlexander Larsson2016-01-189-16/+390
|
* builder: Allow building runtime sdks (based on existing sdk)Alexander Larsson2016-01-186-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 cacheAlexander Larsson2016-01-181-2/+4
|
* cache: Remove target directory before checking out cacheAlexander Larsson2016-01-171-0/+3
| | | | This will be empty anyway, and if its there the checkout fails.
* builder: Don't delete the APPDIR directorySam Thursfield2016-01-173-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 filesAlexander Larsson2016-01-141-0/+1
|
* builder: Also apply cleanup to changes in usrAlexander Larsson2016-01-145-21/+28
|
* builder: Change the way the cache is indexedAlexander Larsson2016-01-134-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 optionAlexander Larsson2016-01-121-3/+74
|
* builder: Fix up cleanup matchingAlexander Larsson2016-01-121-47/+42
|
* builder: Fix handling of builddirAlexander Larsson2016-01-121-1/+4
|
* builder: Add some more spew when exportingAlexander Larsson2016-01-121-0/+4
|
* builder: Don't break if ccache not enabled.Alexander Larsson2016-01-121-2/+5
|
* builder: Pass --body, --subject and --gpg-sign to build-exportAlexander Larsson2016-01-121-0/+21
|
* builder: Add option to enable ccache use in buildAlexander Larsson2016-01-125-13/+93
|
* builder: Run builds in /run/build/$modulenameAlexander Larsson2016-01-121-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=fooAlexander Larsson2016-01-114-5/+91
|
* builder: Create metadata.debuginfo if debug info existsAlexander Larsson2016-01-111-0/+19
|
* common: Move path_match_prefix to commonAlexander Larsson2016-01-111-67/+2
|
* builder: Match debuginfo files against regular cleanup patternsAlexander Larsson2016-01-111-9/+63
| | | | I.e. if /lib/foo is cleaned, also clean /lib/debug/lib/foo.debug
* builder: Pass down global cleanups via BuildContextAlexander Larsson2016-01-115-44/+64
|
* builder: Pass down keep-build-dirs via BuildContextAlexander Larsson2016-01-117-7/+22
|
* builder: Break out helpers for path matchingAlexander Larsson2016-01-113-52/+79
|
* builder: Add support for separating out debuginfoAlexander Larsson2016-01-119-77/+278
|
* builder: Use libelf to detect elf filesAlexander Larsson2016-01-114-93/+122
| | | | This additionally looks for already stripped files
* builder: Print all files removed by cleanupAlexander Larsson2016-01-111-0/+1
|
* builder: Add --disable-updatesAlexander Larsson2015-12-2113-8/+28
| | | | Download sources, but never update existing sources (like git or bzr).
* apps: Use "branch", not "version" when talking about app branchesAlexander Larsson2015-12-171-10/+10
|
* builder: Add cleanup-command propertyAlexander Larsson2015-12-161-1/+78
| | | | This allows you to do some custom cleanup operations
* builder: Store the cache in BARE_USER modeAlexander Larsson2015-12-161-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 checkoutsAlexander Larsson2015-12-161-0/+4
|
* builder: Support writable-sdk optionAlexander Larsson2015-12-151-0/+19
|