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

Use a separate class for reading info.xml #9803

Closed
wants to merge 5 commits into from
Closed

Conversation

bartv2
Copy link
Contributor

@bartv2 bartv2 commented Jul 23, 2014

@@ -0,0 +1,73 @@
<?php
/**
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

back to the future! 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well it is really written last year, trying to get this code merged. But in smaller chunks now

@ghost
Copy link

ghost commented Jul 23, 2014

🚀 Test Passed. 🚀
Refer to this link for build results: https://ci.owncloud.org/job/pull-request-analyser/6378/

@bartv2
Copy link
Contributor Author

bartv2 commented Aug 23, 2014

Any comments?

@butonic
Copy link
Member

butonic commented Aug 25, 2014

👍

@bartv2
Copy link
Contributor Author

bartv2 commented Aug 29, 2014

@DeepDiver1975 @PVince81 one more 👍 ?

@BernhardPosselt
Copy link
Contributor

@bartv2 sorry for the late review

*/
public function getInfo($filename) {
if (!file_exists($filename)) {
return null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure about returning null in case of failure, especially if there can be multiple failure cases

@bartv2
Copy link
Contributor Author

bartv2 commented Aug 30, 2014

fixed all review comments

if (!$content) {
throw new Exception('info.xml file is empty or unreadable: '.$filename);
}
$xml = new \SimpleXMLElement($content);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

owncloud-archive/3rdparty#117 @LukasReschke

This should be merged together :)

@ghost
Copy link

ghost commented Aug 30, 2014

🚀 Test Passed. 🚀
Refer to this link for build results: https://ci.owncloud.org/job/pull-request-analyser/7003/

@butonic
Copy link
Member

butonic commented Sep 11, 2014

@bartv2 please rebase

@bartv2
Copy link
Contributor Author

bartv2 commented Sep 12, 2014

rebased

@scrutinizer-notifier
Copy link

The inspection completed: No issues found

@ghost
Copy link

ghost commented Sep 13, 2014

💣 Test Failed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org/job/pull-request-analyser/7321/

@ghost
Copy link

ghost commented Oct 6, 2014

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng/67/

@ghost
Copy link

ghost commented Oct 15, 2014

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/140/
💣 Test FAILed. 💣

@ghost
Copy link

ghost commented Nov 21, 2014

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/3034/

Build result: FAILURE

[...truncated 123 lines...] > git fetch --tags --progress https://github.com/owncloud/core.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse 56e576c^{commit} # timeout=10Checking out Revision 56e576c (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 56e576c > git rev-list 28dcb5277015c13914cd6a55c57fde37c583a8fb # timeout=10First time build. Skipping changelog. > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule update --init --recursiveCleaning workspace > git rev-parse --verify HEAD # timeout=10Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 > git submodule foreach --recursive git reset --hard # timeout=10 > git submodule foreach --recursive git clean -fdx # timeout=10Triggering pull-request-analyser-ng-simple » vm-slave-02Configuration pull-request-analyser-ng-simple » vm-slave-02 is still in the queue: Waiting for next available executor on vm-slave-02pull-request-analyser-ng-simple » vm-slave-02 completed with result FAILUREStarted calculate disk usage of buildDisk usage plugin fails during calculation disk usage of this build.
💣 Test FAILed. 💣

@PVince81
Copy link
Contributor

Same as #12393 ?

@DeepDiver1975
Copy link
Member

superseded by #12393 -> close

@DeepDiver1975 DeepDiver1975 deleted the infoxmlreader branch November 26, 2014 11:42
@lock lock bot locked as resolved and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants