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

Testing required #7027

Closed
politas opened this issue Feb 26, 2019 · 8 comments
Closed

Testing required #7027

politas opened this issue Feb 26, 2019 · 8 comments

Comments

@politas
Copy link
Member

politas commented Feb 26, 2019

@KSP-CKAN/wranglers, there's a new pre-release available that includes the long-delayed "replaced_by" addition to the spec. (Huge thanks to @HebaruSan for finishing up the code that had me dithering about implementation specifics!)

We really need some of the old entries in CKAN-Meta modified to use the new field so we can test out the new client.

@HebaruSan
Copy link
Member

For reference, this was the original feature request: KSP-CKAN/CKAN#904

One possible test case is xScience → xScienceContinued in #7021.

@HebaruSan
Copy link
Member

Expand for the (very long) list of identifiers in NetKAN that might be applicable...
  • AirPark → AirParkContinued
  • AnalogControl → AnalogControlContinued
  • AnyRes → AnyResContinued
  • AudioMuffler → AudioMufflerRedux
  • B9-PWings → B9-PWings-Fork
  • BahaEPL → BahaEPLRedrilled
  • BAM → BAMCont
  • BargainRockets → BargainRocketsCont
  • BDArmory → BDArmoryContinued
  • BetterScienceLabs → BetterScienceLabsContinued
  • BetterTimeWarp → BetterTimeWarpCont
  • BOSS → BOSSContinued
  • BurnTogether → BurnTogetherContinued
  • CactEyeTelescopes → CactEyeTelescopesContinued
  • CareerManager → CareerManagerContinued
  • ChampagneBottle → ChampagneBottleRedux
  • CivilianPopulations → CivilianPopulationsRevived
  • CollisionFX → CollisionFXUpdated
  • ContractFilter → ContractFilterContinued
  • CrewQueue → CrewQueueTwo
  • DangerAlerts → DangerAlertsContinued
  • DangIt → DangItContinued
  • EditorExtensions → EditorExtensionsRedux
  • EngineIgnitor → EngineIgnitorReignited
  • EVAEnhancements → EVAEnhancementsContinued
  • EvaFuel → EvaFuelCont
  • EVAHandrailsPack → EVAHandrailsPackContinued
  • ExceptionDetector → ExceptionDetectorUpdated
  • ExtensiveEngRpt → ExtensiveEngRptContinued
  • FarFromKerbin → FarFromKerbinCont
  • FASALaunchClamps → FASALaunchClampsContinued
  • FerramAerospaceResearch → FerramAerospaceResearchContinued
  • FlagRotate → FlagRotateCont
  • FMRS → FMRSContinued
  • ForScience → ForScienceContinued
  • FTLDrive → FTLDriveContinued
  • FuseBox → FuseBoxContinued
  • GravityTurn → GravityTurnContinued
  • HangerExtender → HangerExtenderExtended
  • Haystack → HaystackContinued
  • Haystack → HaystackReContinued
  • HullcamVDS → HullcamVDSContinued
  • ImageViewer → ImageViewerCont
  • InterKalactic → InterKalactic2
  • JetSounds → JetSoundsContinued
  • K2CommandPod → K2CommandPodCont
  • KerbalAnimationSuite → KerbalAnimationSuiteCont
  • KerbalFoundries → KerbalFoundriesContinued
  • KerbalGalaxy → KerbalGalaxyRevamped
  • KerbalGPS → KerbalGPSRevived
  • KerbalHotSeat → KerbalHotSeatCont
  • KerbalJointReinforcement → KerbalJointReinforcementContinued
  • KerbalObjectInspector → KerbalObjectInspectorCont
  • KerbCam → KerbCam-Continued
  • KerbQuake → KerbQuakeExtended
  • KolyphemusSystem → KolyphemusSystemContinued
  • KramaxAutopilot → KramaxAutopilotContinued
  • KSPCasher → KSPCasherCont
  • KSPInterstellar → KSPInterstellarExtended
  • Kurrikane → KurrikaneExpanded
  • KVV → KVVContinued
  • KWRocketry → KWRocketryRebalanced
  • LargeStructuralComponents → LargeStructuralComponentsRedux
  • LaunchCountDown → LaunchCountDownextended
  • LTech → LTechContinued
  • MicroSat → MicroSatRevived
  • MissionController → MissionController2
  • MusicMute → MusicMuteContinued
  • NavballDockingIndicator → CommunityNavballDockingIndicator
  • NavballDockingIndicator → NavballDockAlignIndCE
  • NavHud → NavHudRenewed
  • NavUtilities → NavUtilitiesContinued
  • NEBULADecals → NEBULADecalsContinued
  • NoCrewRequirement → NoCrewRequirementContinued
  • NoMoreGrind → NoMoreGrindRedux
  • NovaPunch → NovaPunchContinued
  • Octosat → OctosatContinued
  • OldParts → OldPartsRedux
  • OSEWorkShop → OSEWorkShopCont
  • PAD → PADContinued
  • PAPIPlugin → PAPIPluginContinued
  • PartCommander → PartCommanderCont
  • PartWizard → PartWizardContinued
  • ProbeControlRoom → ProbeControlRoomRecontrolled
  • PWBFuelBalancer → PWBFuelBalancerRestored
  • QuantumStruts → QuantumStrutsContinued
  • QuizTechAeroPack → QuizTechAeroPackContinued
  • RCSBuildAid → RCSBuildAidCont
  • RealTimeClock → RealTimeClock2
  • RLA → RLAContinued
  • RLA → RLAReborn
  • RLA → RLARecontinued
  • RoverScience → RoverScienceCont
  • ScienceRevisited → ScienceRevisitedRevisited
  • SensiblePumps → SensiblePumpsCont
  • ShipEffects → ShipEffectsContinued
  • ShipSections → ShipSectionsContinued
  • ShowAllFuels → ShowAllFuelsContinued
  • SlingShotter → SlingShotterReslung
  • Spacedocks → SpacedocksRedeployed
  • SpannersBoomsticks → SpannersBoomsticksContinued
  • SSRSS → SSRSS-Cont
  • StateFunding → StateFundingContinued
  • StationPartsExpansion → StationPartsExpansionRedux
  • StationScience → StationScienceContinued
  • SXT → SXTContinued
  • TacSelfDestruct → TacSelfDestructContinued
  • TakeCommand → TakeCommandContinued
  • TankLock → TankLockRedux
  • Telemachus → Telemachus-2
  • Telemachus → TelemachusContinued
  • Telemachus → TelemachusReborn
  • TextureReplacer → TextureReplacerReplaced
  • ToadicusTools → ToadicusToolsContinued
  • TurboNisu → TurboNisuReloaded
  • TweakableEverything → TweakableEverythingCont
  • UbioWeld → UbioWeldContinued
  • UniversalStorage → UniversalStorage2
  • USIKolClassSuits → USIKolClassSuitsRedux
  • VesselMover → VesselMoverContinued
  • Vostok → VostokContinued
  • WasdEditorCamera → WasdEditorCameraContinued
  • WernherChecker → WernherCheckerContinued
  • YongeTechTreesPlugin → YongeTechTreesPlugin-Revived

@HebaruSan
Copy link
Member

How will old (1.25) clients react to metadata with a higher (1.26) spec_version? Is it safe to merge #7048?

@Tekaoh
Copy link
Contributor

Tekaoh commented Mar 6, 2019

Maybe I'm just a noob, but: Is it a little confusing that replaced_by: wants {name: } to be the identifier of the new mod by which it is to be replaced? Wouldn't "replaced_by": { "identifier": "someIdentifier" } be a little more intuitive?

@HebaruSan
Copy link
Member

If this was all being designed from scratch, then yes something like { "id": "whatever" } would be better.
But this is building on the existing depends/conflicts/suggests/recommends relationships, all of which use "name" in the same way.

@HebaruSan
Copy link
Member

OK, a repo update that contains a future spec version will throw UnsupportedKraken:

https://github.com/KSP-CKAN/CKAN/blob/6b4cd143996f029b94162ec89a2e0cb86f9a7c3f/Core/Types/CkanModule.cs#L516-L526

However, that will then be caught by the repo update code, which just skips the module:

https://github.com/KSP-CKAN/CKAN/blob/6b4cd143996f029b94162ec89a2e0cb86f9a7c3f/Core/Net/Repo.cs#L542-L553

So we won't cause crashes by merging these, but clients older than the 1.26 prerelease will see some module versions disappear upon a repo update. I guess that's a necessary evil to get the testing done.

@HebaruSan
Copy link
Member

xScienceContinued works fine, but trying to replace OSEWorkshopCont runs into a problem with the conflict relationship between the two modules:

image

@HebaruSan
Copy link
Member

CKAN v1.26 is out in the wild; presumably the testing was done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants