Open Spaction opened 8 months ago
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
I'm not part of the dev-ops team, but i'll mention to them that this Plug-in is not being as actively developed. As mentioned, the part where this should shine is with running against Node 15 and Node 20, where as before that would have failed.
@eyalbe4 Any chance you can re-run the checks?
@eyalbe4 Is there anything else needing to be done for this to be rechecked?
@yahavi Are you able to re-execute the checks?
@RobiNino @eyalbe4 Any change this can have the test re-run?
@Spaction , Sorry for the delay, we'll review this soon
Hi @Spaction , I took the liberty to update the PR with a few fixes to the tests infrastructure. I also temporarily changed the target branch so that the changes to the workflow made in this PR will reflect in the tests.
Seems like the npm tests are failing. Could you please look into it before we proceed? Thanks
@RobiNino,
Updated the Unit tests. Can honestly say the test doesn't differ between between the NPMExtractor Test vs the one for NpmBuildInfo. The expanded test for the v15 vs v20 is what would have failed previously during the NPMExtractorTest. Only way to confirm this would be to expand only the unit test to include Node v20 and see that it fails for that branch. This is only to say that the new test can be excluded as the other indirectly tests the method\execution path in its npmCiTest
@RobiNino Any updates on my last response?
@RobiNino , @eyalbe4 Any update?
@RobiNino , @eyalbe4 ?
@Spaction, While we'd like to continue promoting this, the team is currently loaded with a few other initiatives and will get back to this when they become available. As a side note, Artifactory's build info integration with NPM and other package managers is strongly recommend by us through JFrpg CLI and not through this older java based build-info-extractor code. The JFrog CLI integration is already more stable, has better support for NPM and receives a lot more attention from the community and the dev teams.
@eyalbe4 You mentioned that back in March, to which I'll repeat what I said earlier. I've no control over what tools we use. I've brought up to the team responsible to use the newer library and for reasons I won't state here was told it would not be happening.
[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
Replaces old _auth from the temp npmrc file conditionally if we are past or equal the version 8.19 which introduced the new format.