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

where can i find the source code for r3.11-r1 in this repo? #94

Closed
stopfstedt opened this issue Dec 8, 2022 · 2 comments
Closed

where can i find the source code for r3.11-r1 in this repo? #94

stopfstedt opened this issue Dec 8, 2022 · 2 comments

Comments

@stopfstedt
Copy link

Hi there,
I'm referring to https://moodle.org/plugins/mod_ouwiki/3.11-r1/25581

Checking out the MOODLE_311_STABLE branch, I noticed that the release is behind (v3.9 r1 vs 3.11 r1). Digging deeper (diffing the download against the branch), it turned out that there differences more places than just the version file.

Please make the released code available in this repo.
For context - we're deploying modules into our Moodle instance using git submodules, and this misalignment would require us to host the latest release ourselves in a repository.

Similar situation with moodleou/moodle-mod_oublog#127

Best,
Stefan

@jason-platts
Copy link
Member

This repo does have the latest version ,if there are code differences then it would be the Moodle plugin database version that is out of date (we always upload to that from a download of this repo).

Note the named 'version' (r3.11 r1) on the moodle plugin database is not related to the version mentioned in the version.php - because the code rarely changes we don't routinely update the version.php but do update this value when adding and updates to the plugin database (also note that due to the annoying way the plugin database works you have to have an incremented version number in version.php to upload new code, which we often don't have so end up just changing the uploaded code which then causes people some confusion).

@stopfstedt
Copy link
Author

stopfstedt commented Dec 8, 2022

Hey Jason,
Thanks for the quick reply.

This gives me essentially two options:

  1. Accept the release from the Moodle plugins directory and version control it myself. Deploy from my own repo. Update my repo and redeploy whenever a new release appears in the directory.
  2. Accept whatever is at the HEAD of the current MOODLE_X_STABLE branch and move to a rolling deployment process from there.

Option 2 should be a no-go for production systems. There aren't even any tags that annotate milestones such as release points. Option 1 works, but creates overhead that could be avoided if release and source control were in alignment. You see my problem here?

I understand the annoyance with having to bump version numbers when releasing repeatedly. But I don't understand you point about preventing confusion with your current process - I'll argue that distributing releases that cannot be mapped (at least not easily) to their version controlled source is what's causing confusion here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants