Replies: 18 comments 27 replies
-
Beta Was this translation helpful? Give feedback.
-
Hey Allan, thank you for making this discussion to bring visibility to this. IMO the documentation in Rez currently is actually really good, but all things can be improved. Here's a list off the top of my head of things which might be worthwhile to spin off as separate issues: New Documentation Ideas: Basics / Workflow
New Documentation Ideas, Continued: Technical Literacy(Making users more comfortable with tools that already exist)
Existing Documentation Improvements
|
Beta Was this translation helpful? Give feedback.
-
There are many special cases on Windows and i agree that the docs deserve a lot more love in that area. I was wondering if this might grow into a hard "to use" discussion quickly. I think this should become a page in the Wiki or an issue where the description contains all the wishes merged with checkboxes so we can work through them easily. |
Beta Was this translation helpful? Give feedback.
-
This next point I'm about to bring up may be out of scope for this discussion but, personally, I find updating Wiki pages for GitHub fairly unintuitive because I'm not sure how to preview the changes that I want to make, rendered in GitHub, prior to submitting PRs back to Rez. If the pages were |
Beta Was this translation helpful? Give feedback.
-
I come from many years working at studios with rez-like package managers but had never used rez until a few weeks ago. I have read the wiki multiple times, yet I still have to try a few different pages every time I try to get back to some info I read before, I can never seem to find it right away, having the docs in a sphinx-like documentation which provides search would be nice. As my needs started to get past what was provided by the command line tools, I saw myself wanting to use the API, but found no documentation for it besides the autodoc at https://nerdvegas.github.io/rez/index.html, having some pointers giving a few recipes on how to do common operations in API would be great (how do you list existing package families? how do you find the versions within these? how do you do a resolve? What kind of callbacks can perform?) Reading the documentation at https://github.com/nerdvegas/rez/wiki/Variants#disk-structure led me to believe that there was something called 'base'. I thought this was great, so that I could have variants, each containing their own payload, but I could also have some common files directly in the base, but turns out we can't use {base} in the package.py. To this day I still don't know if it's possible, or if every single file needs to be duplicated for each variant. I ran into quite a few issues with pip-rez, and the hashed variants. Pip-rez often puts incorrect dependencies or variants in the package.py that I mentioned in another post (like always putting the python version it ran on in the variants, even if the pip package is actually compatible with a range of versions). It's easy enough to change the package.py, but the hashed variants make moving the payloads quite painful, as there is no visibility into what the new hash should be (sure you can load the package, and it will print a message saying the path it tried to find, which gives the hash, but that's really time-consuming). I had to dig into the code to find the hash function and write a small utility that will regenerate the hashed payloads for me. There are also certain topics that I'm still confused about to this day, for example how to package up a dcc or some other external tools. Another thing I would love to see in the documentation is some common mistakes and traps to avoid. |
Beta Was this translation helpful? Give feedback.
-
The current Rez Config section on Package Filters is a little confusing -- https://github.com/nerdvegas/rez/wiki/Configuring-Rez#package_filter It includes an example that isn't valid python and references different rule types (e.g. glob(), regex()), yet it isn't clear how to actually use those types in the config. |
Beta Was this translation helpful? Give feedback.
-
As per discussion on Slack, we should improve documentation around build_requires vs. private_build_requires and possibly also adapt samples to use private_build_requires except specifically require otherwise |
Beta Was this translation helpful? Give feedback.
-
There is a bit of conversation about certain shell pitfalls to avoid in #1234, some of which might be worth including in the docs. |
Beta Was this translation helpful? Give feedback.
-
There is almost nothing in the docs about 'has_plugins' and 'plugin_for' except that they exist. |
Beta Was this translation helpful? Give feedback.
-
Since there's not really anywhere else to put something like this, I was told to add my photoshop-rez docs here: Using my personal github account because we're not allowed to have any public repos on our work account. |
Beta Was this translation helpful? Give feedback.
-
Looking at the variants page today, I notice that up until today every time I've made a package with variants I've assembled it manually. Today I run into a case where I need to make a package with slightly different code destined for each of the variants, and I see nothing in the variants doc about how I would go about achieving that, so definitely could use some more documentation in this subject. |
Beta Was this translation helpful? Give feedback.
-
I've been trying to set rez up, following the wiki install page on Git Hub, but there is something incorrect in the guide or some significant steps missing. In all likelihood, it's something I haven't done or understood fully, but I can't figure out how to get it working. I would have hoped the guide be clear enough or someplace to go for troubleshooting (discord or slack channel) but alas I cannot find it. Any suggestions much appreciated. |
Beta Was this translation helpful? Give feedback.
-
There is a slack channel at
https://join.slack.com/t/academysoftwarefdn/shared_invite/zt-1zc8wlakn-65h2~ixmsvThd6oGJKB6VA
…On Wed, Jul 19, 2023, 07:29 C ***@***.***> wrote:
I've been trying to set rez up, following the wiki install page on Git
Hub, but there is something incorrect in the guide or some significant
steps missing.
In all likelihood, it's something I haven't done or understood fully, but
I can't figure out how to get it working. I would have hoped the guide be
clear enough or someplace to go for troubleshooting (discord or slack
channel) but alas I cannot find it.
Any suggestions much appreciated.
—
Reply to this email directly, view it on GitHub
<#1277 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJAV5GXL6IEGIDXEQB2UQ3XQ7VNFANCNFSM5SXYUUIQ>
.
You are receiving this because you commented.Message ID:
<AcademySoftwareFoundation/rez/repo-discussions/1277/comments/6489579@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I created a PR to move our wiki to ReadTheDocs. The PR is #1522 and you can see the preview at https://rez--1522.org.readthedocs.build/en/1522/. I think it will improve the situation a bit and is also a good first step towards improving our documentation and it'll be easier to make contribution to it. Please let me know what you think by commenting on the PR itself. Thanks and I hope you'll like it! |
Beta Was this translation helpful? Give feedback.
-
Documentation doesn't say anything about rez plugins, this could be a section to add |
Beta Was this translation helpful? Give feedback.
-
From @SitiSchu
|
Beta Was this translation helpful? Give feedback.
-
The current I would like something like pip does:
Compare that to our
|
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Please update this discussion with cases you've come across where you had to dig into code / ask around to figure out how something works, and where that info is not in the wiki (or, where the info is there but is misleading or difficult to understand). With enough participation, we should be able to identify common themes and thus be able to target our efforts on doc upgrades in a way that sees the most benefit.
When adding to the discussion, please provide links to existing docs where appropriate, or suggest where the docs you ned should be, if they're currently missing.
Beta Was this translation helpful? Give feedback.
All reactions