Skip to content

madel-ibm/CommonCodeRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Contributing Guidelines

Thank you for contributing to our project! To maintain a consistent and clean codebase, please follow these guidelines when working with Git.

Branch Naming Conventions

Use the following naming conventions for your branches:

Branch Type Branch Name Description Example
Feature Branches feature/featurename Branch for implementing new features. feature/pwm_module
Bugfix Branches bugfix/bugname Branch for fixing bugs. bugfix/fix_login_issue
Hotfix Branches hotfix/hotfixname Branch for urgent fixes in production. hotfix/urgent_security_fix
Release Branches release/releasename Branch for preparing a new release. release/v1.2.0
Development Branch dev Branch containing the latest development changes.
Test Branch test Branch containing code that is currently in testing.
Staging Branch staging Branch containing code that is ready for staging before production deployment.
Main/Production Branch main or master Branch containing stable, production-ready code.

Sure! Here is the information presented in a table format using Markdown:

Commit Message Conventions

Format type(scope): subject
Description Follow the Conventional Commits specification for your commit messages. Each commit message should include a type, an optional scope, and a concise description of the changes.
Type Description Example
feat A new feature feat(auth): add login functionality
fix A bug fix fix(auth): resolve login bug for special characters
docs Documentation changes docs(readme): update installation instructions
style Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) style(button): adjust button spacing
refactor A code change that neither fixes a bug nor adds a feature refactor(user-service): optimize user data fetching
test Adding missing tests or correcting existing tests test(auth): add tests for login validation
chore Changes to the build process or auxiliary tools and libraries such as documentation generation chore(deps): update dependency versions

Git Workflow

We use a Git Flow-inspired workflow to manage our branches. Here's a simplified overview:

Main Branches

Branch Name Description
main Contains stable, production-ready code.
dev Contains the latest development changes.
test Contains code that is currently in testing.
staging Contains code that is ready for staging before production deployment.

Workflow Diagram

Git Flow Diagram

VS Code Extensions

Certainly! Here's the updated section with SonarLint included:

VS Code Extensions

Extension Description
Prettier - Code formatter Automatically formats code to ensure consistent style.
ESLint Lints JavaScript and TypeScript code to enforce coding standards.
GitLens Provides detailed Git insights and history in the editor.
Code Spell Checker Detects and highlights spelling errors in code.
Bracket Pair Colorizer Colors matching brackets to make code easier to read.
Material Icon Theme Provides a set of icons to customize file and folder visuals.
SonarLint Provides on-the-fly code quality and security feedback.

Summary

Following these guidelines will help us keep our codebase clean and well-organized. We appreciate your contributions!

If you have any questions or need further clarification, please feel free to reach out to the project maintainers.


Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published