Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are some problems with the repository, which has resulted in 7.x-2.x-dev being older than 7.x-2.5
There are a number of commits to 7.x-2.5 that aren't in 7.x-2.x-dev, which makes it very confusing when trying to make patches.
Compare dev http://drupalcode.org/project/footnotes.git/shortlog/refs/heads/7.x-2.x and 2.5 http://drupalcode.org/project/footnotes.git/shortlog/refs/tags/7.x-2.5
- 2.5 has 4 extra commits.
The sooner this can be fixed the better but for now I will do my patch for 7.x-2.5
Comments
Comment #1
hingo CreditAttribution: hingo commentedActually it's been like that already since cvs times. The branch names have to match certain patterns so that drupal.org will automatically publish different releases from them. When all of that is done, head seems to be superfluous.
Unless you can point to some Drupal documentation or provide a specific suggestion yourself, I'm just going to close this bug. (Ie, reopen if you do.)
Comment #2
rooby CreditAttribution: rooby commentedSorry I don't mean work out of HEAD or MASTER, that seems to be long gone as the practice of choice.
I mean working out of branches for each major version, as this module has been doing.
The problem is that new commits should be done to 7.x-2.x and then when you want to make a new release you can tag a new version for drupal.org.
However, the last few commits have not been done to 7.x-2.x and are actually only in 7.x-2.5.
This means when the time comes for a new version 7.x-2.6 to be tagged from the 7.x-2.x branch, those commits will not be there as they are only in 7.x-2.5 specifically.
If you look at the two links in the original post and compare the logs, the last 4 changes from the 12th and 13th of march are only in 7.x-2.5 and not in 7.x-2.x.
An easy way to verify this is to download the latest dev version and see that the tinymce_footnotes module is still there.
Comment #3
rooby CreditAttribution: rooby commentedThanks for the commit access, I can have a look into remedying this if you like.
Alse, if you have any rules you would like your committers to abide by or things you never want in the module etc. just let me know.
I would imaging I won't have time to do anything major to the module anyway, it will just review patches people commit etc. or fixing any bugs that come up.
Comment #4
hingo CreditAttribution: hingo commentedOk, what you describe is not correct. Feel free to fix it.
Do you know how this happened btw? Did I just work against the wrong branch on my workstation, or is some setting wrong in the project settings?
Comment #5
rooby CreditAttribution: rooby commentedI'm not sure actually, I haven't seen that before.
I don't know how you would get a commit on the tag but not the branch.
Maybe I'll open a ticket on drupal.org and see if someone knows for interest sake.
Comment #6
rooby CreditAttribution: rooby commentedI have fixed this now.
It just needed:
It would seem the commits were originally pushed into 7.x-2.5 but not into 7.x-2.x.
You can see the commits now show up at http://drupalcode.org/project/footnotes.git/shortlog/refs/heads/7.x-2.x