Commit Graph

1607 Commits

Author SHA1 Message Date
ebf4021da2 Fix #104191: Manager build error on ARM64
Reimplement the `touch()` function on Linux to avoid depending on the
`syscall` package, and use the `sys/unix` package instead. This is
slightly higher level, and seems to build on AMD64 and ARM64.
2023-05-15 10:51:01 +02:00
bbeefd4bfa Website: fix developer 'get started' links
Links of the `[text][linkname]` form should not have a space between
the two bracketed parts. And I removed the link to projects.blender.org
because the other two links also link there (indirectly resp. directly).
2023-05-09 15:36:23 +02:00
Francesco Siddi
08c67347db Add blender.org analytics 2023-05-08 17:14:33 +02:00
Francesco Siddi
6642ad38da Website: Column based layout for the Get Involved page 2023-05-08 14:23:08 +02:00
Francesco Siddi
79b563b55a Website: Introduce primary and secondary styling for buttons 2023-05-08 14:22:48 +02:00
Francesco Siddi
8da71a323f Website: Content refactor
- Hide sidebar in pages visible in the top nav, except for Docs
- Create an "About" page, featuring the design principles
- Update components illustration
- Move the "What's new in Flamenco 3" page in the FAQ
- Add TOD to the FAQ
- Tweak homepage layout to use two columns
- Styling: slightly reduce max page width (around 12 words per line)
- Styling: tweak padding for titles and paragraphs
2023-05-06 03:34:54 +02:00
Francesco Siddi
1f8301a575 Website: Enable doc editing links 2023-05-06 03:29:39 +02:00
Francesco Siddi
de9eb6ab08 Website: Fix indentation in config file 2023-05-06 03:29:39 +02:00
Francesco Siddi
a14c926284 Website: Style tweaks in dark mode
Increase contrast in dark mode, and increase line height for more
readability.
2023-05-06 03:29:39 +02:00
Francesco Siddi
5981e0d03a Website: Fix flamenco.io reference
The website is now hosted on flamenco.blender.org.
2023-05-06 03:29:39 +02:00
3c1871cf0b Web: some rewording & markup changes to 'mission' page
Some rewording & reformatting of the 'mission', and extending the
'development/getting started' page.
2023-05-01 10:56:52 +02:00
MichaelC
ded6f35347 Add mission statement to project website (#104207)
Initial draft of a mission statement for Flamenco project based on original blog post announcing Flamenco v3.
Based on contribution suggestion from https://blender.chat/channel/flamenco?msg=uQq4thF8uBu7X5FQq

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104207
2023-05-01 10:39:08 +02:00
692da51e55 Fix #104197: Document design principles
Document the design principles. This is basically
https://studio.blender.org/blog/flamenco-3-a-new-beginning/
plus some more info.
2023-04-24 15:49:23 +02:00
ad3cee6b7b Add task limitation fix to CHANGELOG.md 2023-04-24 15:12:57 +02:00
Anish Bharadwaj (he)
0502498dfa Fix #104201: Task Limit error in Flamenco Manager
Insert tasks in batches so that the required SQL query stays within the limits of SQLite.

No changes to the API, only to the persistence layer.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104205
2023-04-24 15:10:59 +02:00
ef53304b1b Fix #104206: Worker cluster assignment is lost when blender is restarted
The available worker clusters are stored on the addon preferences, to be
available across restarts of Blender. The prefs were not marked as 'dirty'
though, so Blender never actually saved them. That's now resolved.
2023-04-24 12:42:45 +02:00
Nitin-Rawat-1
752597b8e1 Check for number of workers before soft failing the task. (#104195)
Manager: fixed issue #104190 job getting stuck with less workers than soft-failed threshold,
before soft-failing check the number of workers to decide if job should be failed or not.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104195
2023-04-20 11:53:41 +02:00
42878e169f Web: document the need to use drive letters on Windows
Flamenco doesn't support UNC notation. Now that's actually documented.
2023-04-20 10:44:25 +02:00
472b73eb5c Cleanup: run go fmt ./...
No functional changes.
2023-04-17 16:36:52 +02:00
d03bbd49f4 Docs: some rewriting of the Compositor Nodes doc
A few minor adjustments:
- Added a note about the job type being third-party, and what that implies.
- Removed the need to use Git or the mention of symlinks, to simplify
  installation instructions.
- Fixed a few markup issues.
2023-04-14 11:55:34 +02:00
ec678e0e51 Docs: 3rd party job types, some small changes
Just a bit of rewording, mostly avoiding using the word 'job' for 'job
type'.
2023-04-14 11:54:21 +02:00
c119819c13 Docs: ask for bugreport when issue with BAT is found 2023-04-14 11:53:33 +02:00
ff63bc7038 Docs: fix trailing whitespace and newline at EOF 2023-04-14 11:52:52 +02:00
2a3356049b Docs: add config param + shortcode for bug reporting button 2023-04-14 11:52:01 +02:00
Dylan Gabriel Blanqué
c61530e9cc Doc: custom job types, bat-pack error, two-way variables (#104202)
Additions to the documentation:

- Page for collecting custom job types, with multi-pass job type.
- BAT Pack Error Message solution on Windows.
- Clarificationof two-way variable usage in jobs.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104202
2023-04-14 10:59:57 +02:00
0e0fddc076 Add-on: Change 'No Cluster' to 'All'
In the 'Cluster' drop-down, change the label and tooltip of the 'No
Cluster' option. The functionality is still the same, it causes the job
to be submitted without cluster assigned. The wording now reflect
Flamenco's behaviour better, instead of describing this technical aspect.

Old: "No Cluster", "No cluster assigned, any worker can handle this job"
New: "All", "No specific cluster assigned, any worker can handle this job"
2023-04-08 11:30:25 +02:00
b74db1daed Clarify worker clusters in CHANGELOG.md 2023-04-04 15:33:23 +02:00
6a89fa346c Manager: correctly count how many workers can run a job
Basically this accounts for the change in 3724a8874e4f22ef0740f464d9e912b19a1e061e
2023-04-04 15:19:21 +02:00
a36c4cd4e4 Web: clarify the cluster assignment result in the worker details view
Now the hint is no longer generically explaining things, but is dynamic
and specific for the current assignment of the worker's clusters.
2023-04-04 13:21:59 +02:00
10d7e7e203 Manager: allow creation of worker clusters without UUID 2023-04-04 13:19:11 +02:00
f5ab2bb4c2 OAPI: regenerate code 2023-04-04 13:18:59 +02:00
0e6b6a6013 API: allow worker cluster creation without explicit UUID
Clusters can be created without UUID now. In that case, a random one will
be generated. The cluster will be returned by the creation call, so that
the caller can know that generated UUID.
2023-04-04 13:18:24 +02:00
3724a8874e Slight change of worker cluster behaviour
Workers without cluster now only run jobs without cluster.
2023-04-04 13:17:45 +02:00
d75962c817 Web: hide 'clusters' list when there are none
Due to the proxying behaviour of VueJS, `workers.clusters` is always
considered `true`, even when empty. Explicitly test for the length.
2023-04-04 12:32:32 +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
922e772efa Add clusters to CHANGELOG.md 2023-04-04 12:21:59 +02:00
2a6cbcf030 Addon: Add worker cluster support
Worker clusters can be fetched from the Manager, and submitted jobs can
be assigned to those clusters.
2023-04-04 12:19:44 +02:00
3306c7fc8d Web: add support for worker clusters
The support is still fairly minimal. Clusters cannot be managed via the
webapp yet, so the API has to be used directly for that. Workers can be
assigned to clusters via the webapp though.
2023-04-04 12:19:14 +02:00
8408d28a6b Manager: add support for worker clusters 2023-04-04 12:18:35 +02:00
675d966263 OAPI: regenerate code 2023-04-04 12:18:17 +02:00
cbbf7b01d6 API: add worker clusters to the API
Worker Clusters can be managed via the API, workers can be assigned to
any number of clusters (if not assigned to any, they'll pick up any task).

Jobs can be submitted with a cluster ID, in which case only workers that
are in that cluster or are clusterless will pick up its tasks.
2023-04-04 12:16:54 +02:00
28cc7b7a3f Manager: improve logging when workers register
The info message that a worker registered now also includes its UUID.
Any failure hashing the password will now also log the worker name + UUID.
2023-04-04 12:13:21 +02:00
e2559b1181 Cleanup: remove doubly-declared default value in persistence layer
No functional changes.
2023-04-03 16:59:22 +02:00
159ce5b34a Manager: avoid starting error messages with 'error'
No real functional changes, just server-side logging.
2023-04-03 16:58:48 +02:00
Sebastian Parborg
9bc1d14022 Delete '.arcconfig' (#104199)
Arcanist is not used by the project anymore.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104199
2023-03-21 16:07:31 +01: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
996f5da2af Bumped version to 3.3-alpha0 2023-03-21 12:22:38 +01:00
a386d80765 Bump govulncheck dependencies 2023-03-21 12:20:43 +01:00
1b60b43736 Update CHANGELOG 2023-03-21 12:18:03 +01:00
0ac64719e7 Job deleter: improve logging
Various improvements to the logging of the job deletion:

- Reduce the log level of the "removing logs" and "removing job from
  database" lines from INFO to DEBUG, so that only one line of INFO is
  logged per deleted job
- Show size of the queue and the check interval in the "job deletion
  queue is full" log message.
2023-03-21 12:16:04 +01:00