| Novice issue reserved for folks starting their contribution journey. If you have gained enough experience, please consider other contribution opportunities. Thanks. |
Problem/Motivation
Historically, Drupal.org has included license files when packaging modules and themes. If someone sets up a mirror of the Git repository of this module, there will not be license information. We want to explicitly distribute a license with the module's repository.
Steps to reproduce
Review the module's code repository at https://git.drupalcode.org/project/auto_increment_alter and verify that:
- No
LICENSE.txtfile exists in the root of the repository. - No license information is present in the
composer.jsonfile.
Proposed resolution
- Add the same
LICENSE.txtfile used by Drupal core. - Add license information to the module's
composer.jsonfile.
Remaining tasks
- Copy the
LICENSE.txtfile used by Drupal core into the root of this module's repository. It found at https://git.drupalcode.org/project/drupal/-/blob/11.x/core/LICENSE.txt - Update the module's
composer.jsonfile to include license information. - Commit the changes and create a merge request (MR).
The composer.json file should look something like this:
{
"name": "drupal/auto_increment_alter",
"description": "Alter AUTO_INCREMENT value of database tables.",
"license": "GPL-2.0-or-later",
"type": "drupal-module",Resources
You might want to reference the following resources:
First contributions
- Getting started contributing
- Create a merge request for an issue
- First time Contributor Workshop (a YouTube video)
- Contributor guide
Similar issues
Issue fork auto_increment_alter-3490571
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Anonymous (not verified) commentedakulsaxena made their first commit to this issue’s fork.
Comment #4
Anonymous (not verified) commentedHi
I have added the LICENSE.txt file as requested
The PHPCS and cspell pipelines are failing but an issue has already been created for the same.
Please review and merge
Comment #6
Anonymous (not verified) commentedHi @jvbrian
I already generated the MR and made the necessary changes.
The issue was already in Needs Review state.
All you have done is add two spaces extra in 2 different files, which is actually not required.
Please ensure if the issue you pick is already assigned to someone or is in needs review state and the work is complete, you should not work on it until it moves back to needs work state and is unassigned.
Comment #7
dinarcon commentedThanks for working on this @akulsaxena
Hi @jvbrian It is indeed strange to add the spaces to those files when such change is not necessary. The current status of the issue is
Needs Review. Can you verify that the necessary changes, as instructed in the issue summary, have been implemented? And if so, can you add a comment indicating you have reviewed the issue and change the issue status toReviewed & tested by the community(RTBC)?I have rebased the MR after #3492309: Fix cspell and phpcs issues The pipelines are already passing.
Comment #8
Anonymous (not verified) commented@jvbrian
Will you be reviewing this? The licence file has been added and the required code for the same is already present in the composer.json file. Let me know if you find any other issue otherwise this can be set to RTBC and then merged.
Comment #9
dhruv.mittal commentedHey, I reviewed the MR and the changes look good enough
The license file was added and composer.json has the required license information
Pipelines are all green.
Moving it to RTBC
Thanks
Comment #11
dinarcon commentedThanks for working on this @akulsaxena and for your review @dhruv.mittal