Commit Graph

143 Commits

Author SHA1 Message Date
6fb8ab92e2 Bumped version to 3.6-alpha3 2024-06-27 09:58:55 +02:00
38f41c096c Make clean after building release packages
To prevent non-native binaries from polluting the working directory, also
run `make clean` after building the release packages.
2024-06-27 09:57:09 +02:00
125e9aba23 Bumped version to 3.6-alpha2 2024-06-25 17:53:16 +02:00
d3a3178300 Bumped version to 3.6-alpha1 2024-06-25 11:26:12 +02:00
c5b13baab9 Revert "Makefile: use Hugo with the -tags extended argument"
This reverts commit 44ffb09d7daa0e2a8c55750ef5da187a527f6478. Building
the extended version of Hugo requires CGo, which I don't want to have as
a build-time dependency for any part of Flamenco. So, unfortunately, no
WebP support.
2024-05-16 12:36:42 +02:00
44ffb09d7d Makefile: use Hugo with the -tags extended argument
This is necessary for proper WebP support.
2024-05-16 12:28:55 +02:00
d279f91549 Bumped version to 3.6-alpha0 2024-04-24 17:32:01 +02:00
bb772841b7 Revert "Bumped version to 3.6-alpha0"
This reverts commit 7f14e6705d69d05e1bcae3a9ff64dbf2541c47b5. v3.5 still
needs today's date as release date in the changelog.
2024-04-16 11:12:48 +02:00
7f14e6705d Bumped version to 3.6-alpha0 2024-04-16 11:11:54 +02:00
81de246b48 Bumped version to 3.5 2024-04-16 11:03:27 +02:00
cfad4e73f9 Bumped version to 3.5-beta1 2024-04-04 10:54:53 +02:00
bce84bf175 Bumped version to 3.5-beta0 2024-04-04 10:38:42 +02:00
63a578688e Make make test fail fast
Pass `-failfast` to the `go test` command, so that it immediately stops
on test failure. This prevents the need to scroll back to see the actual
error, at the expense of only seeing one failure at a time.
2024-03-16 12:14:41 +01:00
94bf65a9e3 Bumped version to 3.5-alpha1 2024-02-26 18:17:19 +01:00
4f8d39f74a Fix MSYS2 breaking the base URL for webapp
Add `MSYS2_ARG_CONV_EXCL="*"` to avoid MSYS2 changing the yarn build
`--base=/app/` argument. That's a URL path, not a filesystem path, and it
should be used as-is on every platform.
2024-02-02 22:37:28 +01:00
3233d40b4c Website: upgrade Hugo to 0.121.2
Upgrade Hugo from 0.101.0 to 0.121.2. This seems to not introduce any
changes for us.
2024-01-25 12:11:04 +01:00
aa2ad35155 Bumped version to 3.5-alpha0 2024-01-17 13:17:35 +01:00
e1306010d7 Bumped version to 3.4 2024-01-12 11:14:50 +01:00
c80f898095 Makefile: Run make vet as part of the release-package rule 2024-01-11 19:06:49 +01:00
b110f5fb51 Bumped version down to 3.4-beta1
There are a few more things I want to do before releasing 3,4.
2024-01-11 17:17:56 +01:00
0c08a5ad5d Bumped version to 3.4 2024-01-11 16:51:21 +01:00
e6a29e1662 Bumped version to 3.4-beta0 2024-01-05 17:01:29 +01:00
7c99a2c000 Document the command to install the Goose binary
No functional changes.
2023-12-29 11:36:16 +01:00
a4000f1909 Bumped version to 3.3.1 2023-12-14 12:09:33 +01:00
a65f234bea Manager: replace GORM database migration with Goose
Replace GORM's auto-migration with Goose. The latter uses hand-written
SQL queries to apply database schema changes, which is safer and easier to
understand than what GORM is doing.
2023-12-14 10:13:40 +01:00
02011f8237 Bumped version to 3.4-alpha0 2023-11-06 15:08:36 +01:00
788b6138b7 Bumped version to 3.3 2023-11-06 11:56:48 +01:00
0333fe1383 Bumped version to 3.3-beta3 2023-11-02 16:29:56 +01:00
01f2e6d558 Bumped version to 3.3-beta2 2023-10-31 14:54:20 +01:00
8e9329f768 Include text file in macOS ARM64 build to indicate location of ffmpeg
Add a bit more documentation about the lack of ffmpeg on macOS/arm64 builds
and include a text file in the download package for that platform to
signal where any ffmpeg binary should be placed.
2023-10-31 10:34:35 +01:00
f34a8d8fac Makefile: restore accidentally commented-out code 2023-10-20 16:53:55 +02:00
5e27f09a14 Include darwin-arm64 packages when publishing online
These aren't linked from the download page yet, as they are missing an
FFmpeg binary. Still, having this build here at least allows people to
download it and put in their own (or configure that particular worker to
not run ffmpeg tasks).
2023-10-20 11:30:27 +02:00
af5b2420af macOS: also create packages for ARM64 architecture
These packages will not include FFmpeg at the moment, as there doesn't
seem to be a version that's built for that architecture and linked from
ffmpeg.org as an "officially approved" binary.
2023-10-20 11:27:14 +02:00
624135f55b Bump version to v3.3-beta1 2023-10-20 11:05:47 +02:00
f951981a4c Make: add targets for running devservers, and avoid installing Hugo
Add `make` targets `devserver-webapp` and `devserver-website` to run
respectively Yarn and Hugo.

This also slightly changes how Hugo is invoked, from using the `hugo` CLI
command to `go run github.com/gohugoio/hugo@v0.101.0`. This avoids the
need to actually install Hugo locally, and also will use the correct
version of Hugo if the locally-installed version happens to be different.
2023-09-08 15:39:20 +02:00
a229c0f75a Make: rename target project-website to deploy-website
This makes it clearer that this target actually deploys the website
to flamenco.blender.org.
2023-09-08 15:37:29 +02:00
900f3a7faa Add make vet target
This runs `go vet` as well as `govulncheck`. These may install
dependencies other than installed via `make with-deps`.
2023-09-07 12:07:27 +02:00
Sebastian Parborg
5f3c8c259d Makefile: Add a standalone recipe for building only the addon .zip (#104239)
Add `make flamenco-addon.zip` build target , making it easier to only
build and distribute the addon. Before this change, the only way to
generate the addon .zip via `make` was to also build the manager.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104239
2023-08-23 15:21:14 +02:00
b2c49492f1 Makefile: get proper git hash when directly on tag + dirty
When the current `HEAD` is tagged, and the work directory is 'dirty', the
`GITHASH` variable now contains the actual Git hash. Before this change it
would only be the word "dirty".
2023-08-01 13:57:37 +02:00
100e8e404e Rename add-on to flamenco-addon.zip
Rename the add-on from `flamenco3-addon.zip` to `flamenco-addon.zip`.

It still contains the same files as before, and in Blender the name of
the add-on has not changed.
2023-08-01 13:05:02 +02:00
02fac6a4df Change Go package name from git.blender.org to projects.blender.org
Change the package base name of the Go code, from
`git.blender.org/flamenco` to `projects.blender.org/studio/flamenco`.

The old location, `git.blender.org`, has no longer been use since the
[migration to Gitea][1]. The new package names now reflect the actual
location where Flamenco is hosted.

[1]: https://code.blender.org/2023/02/new-blender-development-infrastructure/
2023-08-01 12:42:31 +02:00
cac030e9d4 Bump version of FFmpeg to 5.1
The 5.0 binaries that were bundled could no longer be downloaded from the
original URLs, so I took the opportunity to upgrade a minor version.

Unfortunately there is a discrepancy between the last version of FFmpeg
(according to https://ffmpeg.org/download.html#release_5.1) and the
binaries that are offered for download. Because of this, Linux is at 5.1.1,
where Windows and macOS (darwin) are on 5.1.2.
2023-07-31 17:07:44 +02:00
dc6d5d9b8e Makefile: explicitly specify Git hash length
Explicitly specify the Git hash length to use, to ensure consistent version
info regardless of version of Git or platform to build on.
2023-07-24 15:58:45 +02:00
b58f1e15f1 Add CLI utility to recreate tasks of jobs
Due to an issue (which has been fixed in the previous commit), all tasks
in the database were deleted when starting Flamenco. This tool attempts
to recompile the job and recreate its tasks.

The statuses of the tasks are set based on the job status. Basically:

- job active → tasks queued
- job completed → tasks completed
- job cancelled / failed → tasks cancelled
- otherwise → tasks queued

To ensure that the tool is only used to create tasks from scratch, it
refuses to work on a job that still has tasks in the database.
2023-07-10 14:10:15 +02:00
2c163652c0 Makefile: when deploying the website, avoid setting timestamps & owners
The current setup on our webserver disallows setting timestamps or
permissions on the root (of the website) directory, so `rsync -a`
caused an error.

`-a` is a synonym of `-rlptgoD`; the new options are that minus `-t` for
setting times, `-o` and `-g` for setting file ownership (they should
be owned by the uploading user), and `-p` for setting permissions.
2023-06-02 10:51:49 +02:00
0086abcc7a Makefile: be less verbose when publishing the website 2023-05-26 11:20:05 +02:00
77ff6151bd Fix check-environment Makefile rule
Bunch of improvements to the `check-environment` rule:

- it was listed as the first target in `Makefile`, causing it to be run
  when you just use `make`. It's now moved down to where it is first used.
- Call with `$(MAKE) -s` so that there is less logging noise.
- Use `@echo` so that there is less logging noise.
- Change the example to set the right environment variable (it had a
  trailing underscore).
2023-05-19 12:09:29 +02:00
Francesco Siddi
9915951007 Deploy: Update deployment instructions
Move sensitive information into a dedicated .env file, which is
required only for deployment purposes.
2023-05-15 20:09:03 +02:00
Sebastian Parborg
f6f1ebdd05 Make runtime paths configurable at build time
To allow more build-time configuration:

- `Makefile` will now pick up `LDFLAGS` from environment variables, and
- locations of configuration files can now be overridden with linker
  options.

These are not used for regular Flamenco builds, but do allow studios to
customize where configuration files are stored.

Review: https://projects.blender.org/studio/flamenco/pulls/104200
2023-04-04 12:29:03 +02:00
4a142316a1 Add --tag to git describe
Without this, the reported version is 'v3.1-{number of commits}` even after
v3.2 has been tagged. Weird.
2023-03-21 12:24:48 +01:00