pls improve map validation tool (upload vs server pathing)
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 32/100
Rechercherichtung
Beginne am Endpunkt /maps/validate und vergleiche die Validierungsergebnisse für die Pfade map-name und scenario.lua bei hochgeladenen und serverseitig erstellten Versionen. Bestätige die erwartete Ordnerkonvention anhand des Upload-Ablaufs und lege anschließend fest, wie beide Modi ausgewählt werden sollen und was konsistente Validierungsergebnisse und ein konsistentes Upload-Verhalten bedeuten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
First of all, I love our new validation tool: https://api.faforever.com/maps/validate
But I found some Issues that should be improved...
Validate Map Name
The map name validation for Adaptive Map says adaptive_map.v0001 for the folder.
-
That folder name and path is created while map upload and in
FAF Editor -
server created version=/maps/adaptive_map.v0001/adaptive_map.scmap
Validate scenario.lua
But in the validation of the obviously wrong path in the scenario content, it gives you a folder path without .v0001 /maps/adaptive_map/adaptive_map.scmap
-
As far as I know, that path is created in
GPG Editorand needed to be applied for map upload (without .v0001 in folder and file path)? Please correct me if I'm wrong. -
upload version=/maps/adaptive_map/adaptive_map.scmap

Conclusion
FAF Editor version = server created version = /maps/adaptive_map.v0001/adaptive_map.scmap
GPG Editor version = upload version = /maps/adaptive_map/adaptive_map.scmap
That's why I think, the tool is confusing how it is now and leads to maps not being able to load. It would be nice to clarify if an upload version or an server created version should be validated.
It would be nice to give both options to a map maker. And validate consistently over name and scenario validation, like in picture 2#. A checkbox could be a solution to enable the map maker to get the right information. Because I really like to prevent issues like this while uploading:
Bad example
1# difference in validated name and scenario folder naming

Good example
2# example for constant folder naming with .v0001 like in the server created version

One additional question
Isn't it possible to also allow an upload with the version number in the folder?
That would be awesome. This way there is no difference between GPG Editor and FAF Editor maps and both can simply be uploaded. No broken files due to upload process ;)
- Vorherrschende Sprache
- Java
- Sterne
- 31
- Forks
- 30
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus FAForever/faf-java-api
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
FAForever/faf-java-api#1182 · 3 Kommentare ·
-
Replay review requests from the client, via the api and RabbitMQEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
FAForever/faf-java-api#1181 · 12 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 30/100
FAForever/faf-java-api#895 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
FAForever/faf-java-api#816 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
FAForever/faf-java-api#708 · 13 Kommentare ·
Alle Issues in FAForever/faf-java-api
Ähnliche Issues
-
enhancement web-ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
jenkinsci/jenkins#27583 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
apache/rocketmq-dashboard#7302 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
area: android good first issue help wanted testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Gautam-aman/ResQNet#56 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation hermes-queue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
chrisalunlloyd2-sudo/mindpalace#294 ·
Maintainer antworten meist innerhalb von 1 Tag