0
0
Fork 0
My fork of blender for contribution
Go to file
Jacques Lucke 3e814bc702 Tools: gitea utils does not load all pages
The issue is that the default `limit` seems to be 30, and not 50. Due to the
special case for `page == 1` and the `len(result_page) < limit` check, the
`url_json_get_all_pages` function may return before all pages have been loaded.

The fix is to simply remove the `limit` parameter. It wasn't used anyway.
Using it correctly is somewhat tricky if we can't pass in the limit in the
`page == 1` case. This may result in a couple more API requests but it's
probably not a problem in practice. If it becomes a problem, we should
figure out in which cases the `page == 1` special case is actually
required (it was not in the cases that I tested).

Note that the first link returns fewer results than the second link:
* https://projects.blender.org/api/v1/users/jacqueslucke/activities/feeds?only-performed-by=true&date=2024-04-22
* https://projects.blender.org/api/v1/users/jacqueslucke/activities/feeds?only-performed-by=true&date=2024-04-22&limit=50

Pull Request: blender/blender#120948
2024-04-28 01:06:51 +02:00
.gitea
.github
build_files Build: Patch OIIO to not load plugins from (DY)LD_LIBRARY_PATH 2024-04-26 17:02:39 +02:00
doc Cleanup: replace %-formatting with str.format in doc/ 2024-04-27 16:06:50 +10:00
extern Fix: Mantaflow: move allocation after early return 2024-04-26 06:31:22 +02:00
intern Cleanup: spelling in comments 2024-04-27 11:58:02 +10:00
lib Merge branch 'blender-v4.1-release' 2024-03-16 19:45:51 +01:00
locale I18N: Updated UI translations from git/weblate repository (869bad05b63390). 2024-04-22 09:47:57 +02:00
release Cleanup: replace %-formatting with str.format in tools/ & release/ 2024-04-27 16:06:53 +10:00
scripts EEVEE-Next: Material: Add thickness nodetree panel 2024-04-27 20:58:15 +02:00
source Fix: incorrect error message in Object Info node in tool context 2024-04-28 00:38:01 +02:00
tests EEVEE-Next: Update clamp tests 2024-04-23 12:01:31 +02:00
tools Tools: gitea utils does not load all pages 2024-04-28 01:06:51 +02:00
.clang-format Clang-Format: Ensure single new line at the end of files 2024-02-22 14:42:10 +01:00
.clang-tidy Clang-tidy: Ignore variable name length and .c/.cc include warnings 2022-05-06 15:26:54 +02:00
.editorconfig editorconfig: add HTML entry 2023-12-08 13:28:13 +11:00
.git-blame-ignore-revs Cleanup: add commit to .git-blame-ignore-revs 2023-05-03 20:31:11 +10:00
.gitignore Switch SVN to Git submodules using Git-LFS 2024-02-22 13:50:55 +01:00
.gitmodules Windows: Add ARM64 lib submodule 2024-03-14 18:12:51 +01:00
AUTHORS AUTHORS: add 7 new developers 2024-03-07 14:07:39 +11:00
CMakeLists.txt CMake: differentiate between C/C++ compiler versions in errors 2024-04-26 21:36:59 +10:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile cppheck: improvements to checking script 2024-04-14 20:44:03 +10:00
README.md Docs: Replace most wiki links with links to new developer docs 2024-01-18 16:49:38 +01:00
make.bat Switch SVN to Git submodules using Git-LFS 2024-02-22 13:50:55 +01:00
pyproject.toml Black: skip string normalisation 2024-01-22 10:09:33 +01:00

README.md

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.

See blender.org/about/license for details.