1432 Commits

Author SHA1 Message Date
Sybren A. Stüvel
c42b8fec29 Bumped version to 3.1-alpha 2022-09-27 12:31:14 +02:00
Sybren A. Stüvel
59655ea770 Manager: fix error in sleep scheduler when shutting down
When the Manager was shutting down while the sleep scheduler was running, it
could cause a null pointer dereference. This is now doubly solved:

- `worker.Identifier()` is now nil-safe, as in, `worker` can be `nil` and
  it will still return a sensible string.
- failure to apply the sleep schedule due to the context closing is not
  logged as error any more.
2022-09-27 12:27:18 +02:00
Sybren A. Stüvel
50ec5f4f36 Manager: make the worker IP address a click-to-copy field
Now you can click on the worker's IP to copy it to the clipboard.
2022-09-27 12:27:18 +02:00
Sybren A. Stüvel
759a94e49b Blender finder: also handle exec.ErrNotFound as "expected"
Blender not being found can be reported via various errors (this should be
reworked in the 'blender finder API' at some point). `exec.ErrNotFound` is
returned when Blender cannot be found on `$PATH`, which is something that's
absolutely fine. This is now logged less dramatically.
2022-09-22 12:39:40 +02:00
Sybren A. Stüvel
161a7f7cb3 Less dramatic logging when Blender cannot be found
Avoid the word "error" in logging when Blender cannot be found. Typically
these are warnings, and having the word "error" there makes people think
otherwise.
2022-09-22 12:37:46 +02:00
Sybren A. Stüvel
cb2042db71 gitignore /scripts 2022-09-16 14:16:57 +02:00
Sybren A. Stüvel
f312d9a7fe Website: fix links in download section 2022-09-15 11:55:12 +02:00
Sybren A. Stüvel
5d8528d11a Website: include example flamenco-manager.yaml
Sometimes the setup assistant doesn't work (port already in use, Blender
not installed), so having an example file will make it possible to still
start Flamenco.
2022-09-13 15:29:02 +02:00
Sybren A. Stüvel
f33d634161 CHANGELOG: mark 3.0 as released today 2022-09-12 16:55:07 +02:00
Sybren A. Stüvel
f41558b93f Website: update for the 3.0 release
Remove mentions/disclaimers that Flamenco is in beta or in "heavy
development". Some small text fixes.
2022-09-12 16:52:03 +02:00
Sybren A. Stüvel
7d2970bbe3 update-version: always quote the version number in YAML
Without quotes, YAML would see `3.0-beta1` as string, but `3.0` as float.
2022-09-12 15:55:21 +02:00
Sybren A. Stüvel
11785ca51c Bumped version to 3.0 2022-09-12 15:49:12 +02:00
Sybren A. Stüvel
ddfe3199d0 Add-on: report which files were missing
After submission, list the missing files on the terminal (if there are
any).
2022-09-12 15:41:03 +02:00
Sybren A. Stüvel
e7aa637ed5 Add-on: update to BAT 1.14
BAT 1.14 improves some progress reporting when packing files, so it now
properly shows which file is being investigated in the Flamenco UI.
2022-09-12 15:34:27 +02:00
Sybren A. Stüvel
6185a428a8 Add-on: much faster processing of BAT progress messages
BAT-packing is a multi-threaded operation, so messages about its progress
are queued up in a thread-safe manner. The modal operator was only handling
4 messages per second, causing major slowdowns when there are lots of
small files to be processed. This is now done much faster, and thus the
UI shouldn't lag behind of the actual submissions progress.
2022-09-12 15:33:37 +02:00
Sybren A. Stüvel
b3b46f89b2 Fix T100757: error stating OpenEXR format is unknown format
Fix T100757 by reducing the log level to "info" when Blender writes output
to a file format the Worker cannot handle. Such cases are expected, and
now no longer result in an error message.
2022-09-12 12:40:06 +02:00
Sybren A. Stüvel
1ffd56939a Manager: match Windows paths in two-way variables also with slashes
When doing two-way variable replacement, if the variable has a Windows
path (i.e. backslashes) also do a match for the value with forward slashes.

In other words, if a path `Y:/shared/...` comes in, and the variable value
is (correctly) `Y:\shared\...`, it will be seen as a match.
2022-09-01 15:27:31 +02:00
Sybren A. Stüvel
8368feebac Fix unit test
The recent change in error message caused a test to fail, this is now
fixed. No functional changes.
2022-09-01 15:17:04 +02:00
Sybren A. Stüvel
38b45419ae Website: add "command exited abnormally with code 1" explanation to FAQ 2022-09-01 14:47:12 +02:00
Sybren A. Stüvel
f423d68ab3 Website: move FAQ section up
The FAQ section was quite invisible, because it was sitting between the
much bigger Usage and Development sections. It's now easier to spot in the
TOC.
2022-09-01 14:46:59 +02:00
Sybren A. Stüvel
46792ee164 Clarify "job etag mismatch" situation
When a submitted job is refused because of a mismatched etag, there is
now a more explanatory error logged on the Manager. The website also has
an entry in the FAQ for this, as I expect more people to run into this
issue when they upgrade Flamenco.
2022-09-01 14:46:30 +02:00
Sybren A. Stüvel
626c146444 Website: link to changelog 2022-08-31 17:59:08 +02:00
Sybren A. Stüvel
0863dceedc Website: add step to 'how to release' list
Add a step for updating the CHANGELOG.md file, to mark the version as
released today.
2022-08-31 17:52:44 +02:00
Sybren A. Stüvel
de500ba1df Bumped version to 3.0-beta3 2022-08-31 17:50:46 +02:00
Sybren A. Stüvel
570a82d822 Make: correctly quote the 'git commit' command 2022-08-31 17:50:46 +02:00
Sybren A. Stüvel
7e53d31645 CHANGELOG: mark 3.0-beta3 as released today 2022-08-31 17:48:33 +02:00
Sybren A. Stüvel
ff7218d7aa Update CHANGELOG.md 2022-08-31 17:28:51 +02:00
Sybren A. Stüvel
780a9f9ef6 Refactor some tests to use require. instead of assert. + fail
The `require.XXX` functions are exactly the same as `assert.XXX`
functions + directly failing the test, so this refactor simplifies the
code quite a bit. Can be done in more areas than this.

No functional changes.
2022-08-31 17:28:19 +02:00
Sybren A. Stüvel
0afde53209 Simple Blender Render: no longer render to intermediate directory
Simple Blender Render now no longer renders to an intermediate directory.
This not only simplifies the script, but it also opens the door for
selective re-running of individual tasks.

In the old situation, where the intermediate directory was renamed to
the desired name in the last task, rerunning tasks would fail because the
directory they expect to exist no longer exists. This is now resolved.
2022-08-31 17:24:31 +02:00
Sybren A. Stüvel
f065cda830 Cleanup: remove some debug prints from Simple Blender Render script 2022-08-31 16:25:52 +02:00
Sybren A. Stüvel
2e1c0b83bf Simple Blender Render: refuse to render videos
The original idea behind this job type was that it would work equally
well for videos as for images, but that was never really well tested.
It's currently broken, so this commit removes video support altogether.
2022-08-31 16:25:23 +02:00
Sybren A. Stüvel
eb89984db8 Simple Blender Render: remove blender_cmd setting
Remove the `blender_cmd` setting, and just hard-code it to `{blender}`.
The Blender add-on was already passing this string, and it's very unlikely
that people are already writing custom add-ons to pass something different.
It provided flexibility that was untested, so it's better to simplify
things.
2022-08-31 16:24:34 +02:00
Sybren A. Stüvel
25dd7b214b Manager: remove superfluous "error compiling job: " prefix from message
The wrapped error already mentioned it was about job compilation.
2022-08-31 16:23:10 +02:00
Sybren A. Stüvel
fa69cc102b Add-on: clearer error message when job compiler refuses the job
Blender now shows the actual returned error from the Manager when job
submission fails, rather than a generic "failed" message.
2022-08-31 16:22:34 +02:00
Sybren A. Stüvel
6f876658c1 Add-on: remove debug print 2022-08-31 16:04:00 +02:00
Sybren A. Stüvel
4fda35f563 Webapp: don't log all task updates to the JavaScript console
Just a little performance tweak.
2022-08-31 15:57:01 +02:00
Sam Miller
5a25952167 Website: Fix documentation of Flamenco Worker YAML task types list
The example on the project website is incorrect:

```
task_types: blender, ffmpeg, file-management, misc
```

It results in an error:

```
loading configuration: yaml: unmarshal errors:\n line 2:
  cannot unmarshal ||str "blender..." into []string
```

The fix seems to be adding square brackets around the list of comma
delineated tasks:

```
task_types: [blender, ffmpeg, file-management, misc]
```

This results in output with the confirmation that
`taskType=["blender","ffmpeg","file-management","misc"]`
2022-08-31 15:42:58 +02:00
Sybren A. Stüvel
6e401f882f Worker: fix typo 'FFmepg' -> 'FFmpeg'
Just a logging message fix, no functional changes.
2022-08-31 15:34:42 +02:00
Sybren A. Stüvel
e394e75f64 update-version: also update latest version on project website
`make update-version` now also updates
`web/project-website/data/flamenco.yaml` so that the new version is
listed as the latest one on flamenco.blender.org.

Note that such a change will only be visible online after publishing the
site with `make project-website`. Be sure to only do this after the
build has been uploaded there, to avoid dead links.
2022-08-31 15:14:46 +02:00
Sybren A. Stüvel
f64ba3e0be Update CHANGELOG.md 2022-08-31 15:08:32 +02:00
Sybren A. Stüvel
9da75eef04 Worker: fix issue running FFmpeg
The `exeArg` command parameter was incorrectly always expected. It's now
optional, as it should be.
2022-08-31 15:00:46 +02:00
Sybren A. Stüvel
a70bfb87d0 Make: prevent repeating version strings
In the case where the current git HEAD matches the latest release tag,
the version reported by Flamenco was something like
`3.0-beta2-3.0-beta2`, where the first is `$VERSION` and the other is
`$GITHASH`.

This is now prevented, and `$GITHASH` will always be something that's
not a repeat of `$VERSION`.
2022-08-31 14:27:53 +02:00
Sybren A. Stüvel
f2947cc133 Website: add instructions on how to release a new version of Flamenco 2022-08-31 12:43:16 +02:00
Sybren A. Stüvel
5402444d5b Website: add link to SHA256 checksum file 2022-08-31 12:37:24 +02:00
Sybren A. Stüvel
e4a7708cb6 Make: include sha256sum when publishing packages 2022-08-31 12:34:25 +02:00
Sybren A. Stüvel
f16c62abc0 Make: fix publishing of packages
Fix some path inconsistencies between Windows package and the others.
2022-08-31 12:34:09 +02:00
Sybren A. Stüvel
5ff13265a0 Website: bump latest available Flamenco version to 3.0-beta2 2022-08-31 12:26:10 +02:00
Sybren A. Stüvel
fae82d32fc Website: add upgrade information
Add steps on how to upgrade to the download page. This is aimed at
upgrading beta1 to beta2, and thus suggests nuking the install and
starting afresh.
2022-08-31 12:26:01 +02:00
Sybren A. Stüvel
db3e3f0d12 Update CHANGELOG.md
Add a few links to commits, and mark 3.0-beta2 as released today.
2022-08-31 12:15:56 +02:00
Sybren A. Stüvel
de8da6eac5 Bumped version to 3.0-beta2 2022-08-31 12:10:02 +02:00