IBM / sourceorbit

Dependency Management for IBM i projects
https://ibm.github.io/sourceorbit/
Apache License 2.0
19 stars 10 forks source link

.objrefs not working #68

Open rbeckham opened 2 months ago

rbeckham commented 2 months ago

I have the .objrefs file setup in my root directory and looks like this: image

But I still get errors running the so command saying it cannot resolve the objects?? image

worksofliam commented 2 months ago

@rbeckham any chance you can provide some source so I can create this?

rbeckham commented 2 months ago

@worksofliam Yes. What I am working on is private code for a company but I will try to trim it down to something I can post to you

rbeckham commented 2 months ago

@worksofliam is there any way I can send you my project privately? or if you show me how to debug the CLI code I don't mind to debug the code....just not exactly sure how to start the debug with it being a CLI.

worksofliam commented 2 months ago

@rbeckham yes, you may send me some code to liama@thecompanyacronym.com and I can take a look!

Debugging is easy, so feel free to also send me a meeting invite next week for 30 minutes and I can show you. Whatever works.

I will try and improve the docs for this.

rbeckham commented 2 months ago

@worksofliam is that the right email address? maybe I'm missing something. when I send to that email it comes back and domain not found.

worksofliam commented 2 months ago

@rbeckham sent you my email on Twitter. Thanks.

worksofliam commented 2 months ago

@rbeckham I just pushed 0.10.3 which also just fixed an issue with the .objrefs file.

rbeckham commented 2 months ago

@worksofliams just sent my code to you.

rbeckham commented 2 months ago

@worksofliam I wanted to give a quick update.I had a chance to run through the debugging of the problem and it seems to be a timing issue I think here.

https://github.com/IBM/sourceorbit/blob/4f657a98ebab7cd2819bc9f44023514ad7381899/cli/src/targets.ts#L1205

When I run it step by step through the debugger, SourceOrbit works as expected which through my experience means a race issue. I am trying to work through that now and will update when I can.

worksofliam commented 2 months ago

@rbeckham Thanks for the update. Let me know if I can help in any way.