Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate file pinning: fails to match path to generate rootless path #65

Open
BigRoy opened this issue Oct 4, 2024 · 0 comments
Open
Assignees
Labels
type: bug Something isn't working

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Oct 4, 2024

Looking at the code I think the 'matching' it tries to do against the filename will fail anyway (at least without error so you can still publish).
@antirotor and @Lypsolon would need to tell me more about how this should work.

At this point in the code the variables for me are:

dependency_info={'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset\\v007\\ynts_char_beast_usdAsset_v007.usd': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset\\v007\\ynts_char_beast_usdAsset_v007.usd', 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset\\v007\\payload.usd': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset\\v007\\payload.usd', 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset_model\\v003\\ynts_char_beast_usdAsset_model_v003.usd': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset_model\\v003\\ynts_char_beast_usdAsset_model_v003.usd', 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdMain\\v004\\ynts_char_beast_usdMain_v004.usd': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdMain\\v004\\ynts_char_beast_usdMain_v004.usd', 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset_rig\\v003\\ynts_char_beast_usdAsset_rig_v003.usd': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\usd\\usdAsset_rig\\v003\\ynts_char_beast_usdAsset_rig_v003.usd', 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\rig\\rigMain\\v004\\ynts_char_beast_rigMain_v004.usd': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\rig\\rigMain\\v004\\ynts_char_beast_rigMain_v004.usd', 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\rig\\rigMain\\v004\\ynts_char_beast_rigMain_v004.ma': 'c:\\projects\\ayontest\\asset\\char_beast\\publish\\rig\\rigMain\\v004\\ynts_char_beast_rigMain_v004.ma'}
root_info={'work': 'C:/projects'}
replacements={'C:/projects': 'work'}
pattern='(C:/projects)'

As you can see - the regex doesn't match it - and hence my pinning file does NOT contain rootless keys @Lypsolon @antirotor


Originally posted by @BigRoy in #63 (comment)

@BigRoy BigRoy added the type: bug Something isn't working label Oct 4, 2024
@BigRoy BigRoy assigned Balsir and antirotor and unassigned Balsir Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants