stable

Clone or download

Read-only

Refactoring: Compute the repository's path parts in PHP instead of Vue

Part of story #10409: have a burning parrot git repository view Since we had to add those properties to GitRepository for the Repository view, it makes sense to add them in the REST Representation instead of computing them in VueJS. I also took the opportunity to reuse git's URL manager. Change-Id: I2c0725d75b201f45e347babb5fdbf1f81c26ee6f

Modified Files

Name
M plugins/git/include/REST/v1/GitRepositoryRepresentation.class.php +14 −6 Go to diff View file
M plugins/git/include/REST/v1/RepositoryRepresentationBuilder.class.php +10 −1 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +12 −8 Go to diff View file
M plugins/git/include/gitPlugin.class.php +2 −1 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/mutations.js +0 −4 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/mutations.spec.js +20 −3 Go to diff View file
M src/common/REST/v1/GitRepositoryRepresentationBase.class.php +25 −0 Go to diff View file