-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Supports all valid protos for remote sources #53462
Conversation
34a4905
to
b8f7ec7
Compare
@lorengordon Looks like some of the unit test failures are related to this change |
@twangboy can you point me at which ones? It looked to me like the tests were all messed up, and I saw a bunch of work in other PRs trying to clean them up. Wasn't sure what was working and what not, so don't really know where to look right now. |
Ok, so the failing
|
@twangboy I am not able to reproduce the failures when I run my changes locally. Any idea what is going on here? |
b8f7ec7
to
df48951
Compare
@twangboy rebased to pull in latest updates and looks like the tests are passing now. no idea what might have been going on before. |
@twangboy any other concerns with this one? |
df48951
to
b77dda9
Compare
b77dda9
to
63356f5
Compare
Well, it appears the windows tests are failing again, or I misread them the last time I looked. But I just don't understand how it is possible for the
|
@lorengordon it's possible that it's (not) being mocked in the unit tests |
@waynew Thank you! I think I see it now. The |
650e488
to
c0006bf
Compare
c0006bf
to
5bfe265
Compare
ok, well now it seems like something is wrong with jenkins? keeps saying the commit cannot be built? 🤷♂ |
re-run all full |
@waynew thanks! still a couple odd builds with the "commit cannot be built" msg but the windows builds are now passing! :woot: |
re-run amazon2 |
re-run ubuntu-1804 |
I'll try to look through the tests next week to see if the remote protos are exercised somewhere. I feel like I looked originally and found nothing, but that was the 2018.3 branch. I'll look again on master. I'm definitely not up for writing wholly new tests though. Salt's test framework is a total mystery to me, especially with all these random unexplainable failures. If that's the bar, I'd recommend just pushing (or pr'ing) to my branch. |
@waynew I updated the one test I could find that exercises the valid protos. I tried to look at tests on the file/pkg/cp modules that support remote sources, but the setup is very confusing to me and it wasn't super clear what was being tested, nor does it seem to make it very easy to extend tests for new protos. On the plus side, the test suite ran to completion! |
cf09f01
to
747a6f1
Compare
f90ad83
to
26cc2a6
Compare
50391fa
to
0d9ebb8
Compare
0d9ebb8
to
3fae354
Compare
3fae354
to
0e65535
Compare
@lorengordon looks like there is a conflict. can you resolve the conflict? |
0e65535
to
929a4b7
Compare
@Ch3LL rebased to resolve the conflict (was just a new import in |
@lorengordon I've restarted the test suite that failed. When it passes we'll merge. Thanks for your hard work an patience. |
@lorengordon this will make it into Sodium. We plan to release an RC soon (next week or two IIRC, but @dwoz can check me on that). The docs aren't yet up-to-date. I'm working on that today. |
🙃 apparently I mixed up my codenames. It will make it into Sodium, of course, but it will also make it into Neon. (the rest of the information is sound, though) |
What does this PR do?
Supports all valid protos for remote file sources
What issues does this PR fix or reference?
Fixes #13971
Previous Behavior
Previously, could not use an
s3://
uri inpkg.installed
insources
nor as theinstaller
for winrepo.New Behavior
Now all valid remote file sources work, including
s3://
.Tests written?
Maybe?
Commits signed with GPG?
Yes