Closed purnendudash closed 6 months ago
Sorry I don't understand. The statement is in lines 4-7: https://github.com/owncloud/moodle-repository_ocis/blob/7631344101dc97554f4f06915fe0933450dacb76/version.php#L4-L7
Kindly check this - https://moodledev.io/general/development/policies/codingstyle#files
I'm still not sure what you are talking about :-(
Is this about
// The ocis repository for Moodle is free software: you can redistribute it and/or modify
vs
// This file is part of Moodle - http://moodle.org/
?
We had this discussion in https://github.com/owncloud/moodle-repository_ocis/issues/31 and it looks to me that the earlier is also used in other plugins: https://github.com/maths/moodle-qtype_stack/blob/master/question.php
Thanks @individual-it - the fact this has a gpl statement means it's not an approval blocker in the plugins database, but keep in mind Moodle's codechecker tools which check for compliance with the standard guidelines looks for our standard template text - so if you decide to implement #24 - (which I hope you do, because it helps a lot with stuff like this.) you will get a bunch of errors related to this so you might want to consider using the standard templates.
Of course - you don't need to use github ci to check your compliance with the standards - you can install: https://moodle.org/plugins/local_codechecker and: https://moodle.org/plugins/local_moodlecheck
to run some of the tests locally -
nice work - keep in mind that the github actions runs a bunch of other checks as well - so just because codechecker and moodelcheck are passing - won't mean that the standard github actions will pass as they run a bunch of other tests as well.
I think here's the part where it triggers the boilerplate test: https://github.com/moodlehq/moodle-plugin-ci/blob/main/tests/Command/CodeCheckerCommandTest.php#L100
well - that's not the part that triggers it, but it's where it triggers the report on the failure.
fixed by #102 The CI now runs moodle github actions
All plugin file should have some common explicit GPL license statement. Kindly check and include the same.
For more information on this see: https://moodledev.io/general/community/plugincontribution/checklist#boilerplate
https://github.com/owncloud/moodle-repository_ocis/blob/7631344101dc97554f4f06915fe0933450dacb76/version.php#L2