-
Notifications
You must be signed in to change notification settings - Fork 2
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
WIP pull request - ERC viewable as galley #1
Conversation
…uring submission process
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the ...chunk.css/js/map
files not part of the UI download? Do they need to be saved in the plugin?
Regarding my other comments: I'm happy to merge without them being handled, we can create issues instead.
@@ -0,0 +1,15 @@ | |||
{ | |||
"short_name": "React App", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change short name and name to something more reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NJaku01 Can you take care of it so that it is done in general for the build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have adapted it in my fork, the changes will be available in the build with the next release.
ojsErcPlugin.inc.php
Outdated
$manifestNew = $baseUrl . '/' . $this->getPluginPath() . '/build' . substr($manifestOld[0], 1); | ||
$adaptedManifest = str_replace($manifestOld[0], $manifestNew, $adaptedLogo); | ||
|
||
preg_match('"\.\/config\.js"', $readHtmlFile, $configOld); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you encapsulate this in a function? Looks very repetitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah is done here: a23c335
@@ -0,0 +1,10 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE version SYSTEM "../../../lib/pkp/dtd/pluginVersion.dtd"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path does not exist in this repository - I assume that is not a problem? Or exchange the dtd URL with a correct online URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a default of the ojs repository. In the OJS repository the path leads to the plugin version. So I think its correct.
version.xml
Outdated
<version> | ||
<application>ojs-erc-plugin</application> | ||
<type>plugins.generic</type> | ||
<release>0.1.0.0</release> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are 4 digits required for the version, or can we also stick to major.minor.bugfix
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we can also stick to 3 digits, the corresponding commit can be found here: eaea77a
version.xml
Outdated
<application>ojs-erc-plugin</application> | ||
<type>plugins.generic</type> | ||
<release>0.1.0.0</release> | ||
<date>2019-05-15</date> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please start the notes for creating releases and document how this file needs to be updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The notes are now available via a description in the README.md and the CHANGELOG.md. The corresponding commit can be found here: eaea77a
Concerning your question, the |
@nuest
Here my first steps with the plugin!