Ruby und Rails Upgrades durchführen #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs specification
nice to have
question
ready to go
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Total time spent: 1 hour 13 minutes
Due date
flip
1 hour 13 minutes
No due date set.
Depends on
#28 introduce rswag
Foodsoft/foodsoft
Reference: Foodsoft/foodsoft#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
Thanks for your mail.
It is really good news that you can work on Foodsoft development!
First of all, I have been less and less involved with Foodsoft development, so I'm not fully in touch with everything. I think it's best to post to the foodsoft-dev mailing list. Note that we're not fully happy with Nabble and are working on a move, but for now that will be the place.
Your improvements are very welcome. Especially the Ruby on Rails upgrade has been long overdue, and could be quite a challenge (including dependencies that are no longer updated, e.g. the API testing infrastructure).
Feel free to open PRs on the Github repository, that would be the way to get it integrated.
I'm sometimes looking there, as is @paroga and some other contributors. I feel we're falling a bit short on responding, but we'll try. It would help to keep the PRs focused on a single thing, and keep them clean, so the discussion can be clear and they can be merged one by one.
The Ruby on Rails upgrade would be number one from my point of view, I think.
If you're open to let your work list influenced by others, it could be helpful to have a videocall with other developers. If your task list is more or less fixed already (by your own demand), then a post to -dev would be helpful (but you could still invite everyone to talk with you).
In any case, this is really great.
Kind regards,
https://github.com/foodcoops/foodsoft/issues/939
rails upgrade:
https://github.com/foodcoops/foodsoft/issues/956
Es sieht so aus, als hätten die Foodsoft Devs die Swaggerfile erstellt und apivore testet die dort spezifizierten Endpunkte.
Aus der "apivore" Doc:
Wir testen mit dem outdated gem also die response der API, ob sie der Dokumentation der OpenAPI entspricht
die API selber hat auch eigene Tests.
https://github.com/foodcoops/foodsoft/pull/573#issuecomment-774033548
Wie die swaggerfile in die foodsoft kommt, war nicht herauszufinden. Es wirkt so, als wäre es selbst spezifiziert worden:
900cc91197
https://github.com/rswag/rswag
rswag generiert aus api tests die swagger doc, aber ist nicht wie apivore ein Tool, die api gegen Spezifikation vergleicht.
Dennoch ist es möglich mit rswag die api zu testen.
ich hab mal den aktuellen stand durchgesehen und sieht super aus! schön minimal.
ein paar gedanken zum stand:
warum?
warum?
hier besser CSV als acronym definieren: https://api.rubyonrails.org/classes/ActiveSupport/Inflector/Inflections.html#method-i-acronym
same
kann das weg?
remove ;)
minimal-invasiv wäre concerns aus den autoload path rauszunehmen:
https://github.com/foodcoops/foodsoft/pull/979