submodules-alternative

An easy-to-use Git modules alternative to make the cloning process easier.

LGPL-2.1 License

Stars
5
Committers
1

Bot releases are hidden (Show)

submodules-alternative - v1.7.0: Code organizing and improvements Latest Release

Published by Panquesito7 about 1 year ago

Changelog

  • Remove the customizable PR body.
    • Now, it will always use a template body and update it according to its needs.
  • Fix PR labelling. Previously, the script had issues when labelling PRs.
  • Use a faster and the latest LuaCheck version from Lunarmodules/LuaRocks.
  • Adjust code files in directories such as src and tools.
  • Code cleanup, documenting, and organizing.
submodules-alternative - v1.6.0: Major improvements and changes

Published by Panquesito7 about 1 year ago

Changelog

  • Fix the wrong e-mail used for the GitHub Actions bot when committing.
  • Add repository code owners (currently, it's only me for now).
  • The script will automatically exit if one_pr is disabled and squash_commits is enabled.
  • Fix an error in update-repos.lua that would exit the script if no commit message was provided.
  • Use single-quoting in commits and titles, which will allow other symbols such as !.
  • Automatically adjust directory name. You can freely add / at the end or at the beginning and the script will attempt to adjust it.
  • Improve Windows support. Previously, if you ran the scripts on Windows, it wouldn't work.
    • It is still recommended to use Ubuntu on GitHub Actions, though.
  • Repository names can include .git at the end. Previously, this affected when getting the default branches and in other code utilities.
  • Add a security policy to let the users know how to properly report errors.
  • Add pull request labeling, allowing as many labels as you want.
  • Use github.action_path when running the scripts, which speeds up the process by a few seconds, as the workflow previously cloned the scripts.
submodules-alternative - v1.5.7: Fix PR's title/description

Published by Panquesito7 about 1 year ago

Changelog

  • Fix the PR title and description when updating the subtrees.
    • Previously, it was shown as $repo_name.
submodules-alternative - v1.5.6: Branch bugfixes

Published by Panquesito7 about 1 year ago

Changelog

  • Add Socialify banner.
  • Checkout to the newly created branch when updating the repositories.
    • The script will attempt to checkout to the main branch of the current repository before creating a new branch. This also prevented proper repository updating.
submodules-alternative - v1.5.5: Automatic branch deleting

Published by Panquesito7 over 1 year ago

Changelog

  • Branches can be automatically deleted each time the action is run if enabled.
    • This is still experimental and needs to be tested extensively.
submodules-alternative - v1.5.4: major bugfixes

Published by Panquesito7 over 1 year ago

Changelog

  • The squash commits option has been fixed and can be used properly.
  • Subtree update/addition has been changed to use new commands and the subtree updating fixes the merge conflicts and uses the branch that will be merged (git checkout --theirs).
  • A few other bugfixes and improvements.
submodules-alternative - v1.5.3: More bugfixes

Published by Panquesito7 over 1 year ago

Changelog

  • Use the proper commands when adding or updating a subtree.
    • Note that you might need to re-add your subtrees in order for the updating commands to work in case you squashed.
  • The squash_commits option has been disabled, as it removes the initial commit of the subtrees, which makes them not work properly.
    • This will be investigated further, and hopefully a solution will be made soon.
  • The fetch-repos.lua script has been updated to let the user choose the desired commit message.
  • A few other minor bugfixes, improvements, and code cleanup.
submodules-alternative - v1.5.2: More bugfixes

Published by Panquesito7 over 1 year ago

Changelog

  • When creating a new branch when updating the repositories, do not switch to it automatically.
  • Do not use arguments when loading the repos file. Load it directly by using the repos_filename action input.
  • Fix a major bug that prevented proper repository update. The commit message was taken as multiple parameters if not used as a string.
  • Do not waste limited API requests if there's already a defined branch for the given repository.
  • If there are no repository update changes, do not create any new branches or commits.
submodules-alternative - v1.5.1: Minor bugfixes

Published by Panquesito7 over 1 year ago

Changelog

  • A few bugfixes were made for the update-repos script.
submodules-alternative - v1.5.0: Major improvements

Published by Panquesito7 over 1 year ago

Changelog

  • The option to create one single PR or multiple PRs has been added.
    • Note: This only works for update_repos. add_repos will always be created in one single PR.
  • The squash_commits is much safer now as it doesn't rebase already pushed commits. You can also choose to squash commits by running the scripts manually.
  • The check-variables.lua script has been renamed to helper-functions.lua which includes a few other miscellaneous functions that are used across the repository.
  • All repositories are properly updated by using the proper Git commands, which previously did not work.
  • A few other minor code cleanup and changes.
submodules-alternative - v1.4.1: Minor bugfix

Published by Panquesito7 over 1 year ago

Changelog

  • Fix an error preventing repositories from being updated due to a check that was misconfigured.
submodules-alternative - v1.4.0: Various improvements

Published by Panquesito7 over 1 year ago

Changelog

  • Committing when updating repositories is done by the script automatically (with the desired commit message).
  • New parameter, commit_message_update: The commit message used when updating the repositories.
  • New feature mentioned in the README.md, is the option to let you choose the desired branch when cloning a new repository, unlike Git Submodules which automatically chooses the default branch.
submodules-alternative - v1.3.1: Bash bugfix

Published by Panquesito7 over 1 year ago

Changelog

  • Fix missing fi in a Bash script.
submodules-alternative - v1.3.0: Bugfixes

Published by Panquesito7 over 1 year ago

Changelog

  • The check-variables.lua script was missing at the time of either updating or adding the given repositories, which prevented the workflow from working in any project that does not have the source code. This has been fully fixed.
  • Sometimes, it was necessary to pull the repos.lua file from the original branch, as the PR branch might be outdated. The workflow wasn't able to update the necessary file due to a wrong command. This should be fixed.
submodules-alternative - v1.2.0 - Workflow bugfixes

Published by Panquesito7 over 1 year ago

Changelog

  • The action couldn't run on external repositories due to the lack of the fetch-repos and update-repos scripts. This has now been fixed, and the script automatically fetches the scripts to work on your repository without pushing them to your project.
  • Previously, if both update_repos and add_repos options is enabled, the script could not work properly. This has been fixed.
  • The squash commits option has been tweaked and fixed. This option applies only to add_repos for now. Please note that the feature is still experimental and is recommended to use only on PRs.
  • A few other minor bugfixes and cleanup.
submodules-alternative - v1.1.0 - Branches improved

Published by Panquesito7 over 1 year ago

Changelog

  • Update to-do list.
  • Improve branch detection.
    • The script will attempt to find the default branch for the given repository. Currently supports GitHub, GitLab, and BitBucket only!
    • The default/desired branch can be manually specified. This is very useful if the VCS does not have an API or is unsupported.
    • If the default/desired branch is specified, the script won't attempt to find a branch, regardless of the VCS.

We'll keep working on new releases to make bugfixes and implement new features! 🙂
If you have any ideas or suggestions, feel free to create a discussion or issue.

submodules-alternative - v1.0.0 - Initial setup

Published by Panquesito7 over 1 year ago

Changelog

  • The initial release was created! 🎉 This includes:
    • Basic codebase.
    • GitHub Actions to use in your projects.
    • Sample usage, and more.
Package Rankings
Top 18.97% on Github actions
Badges
Extracted from project README
Verify that the script works LuaCheck Submodules Alternative