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

Proposal: Standardize Patch Naming for Compatibility with AzerothCore's DBUpdater (e.g., YYYY_MM_DD_patch.sql) #412

Open
Olrik-WP opened this issue Nov 6, 2024 · 0 comments

Comments

@Olrik-WP
Copy link

Olrik-WP commented Nov 6, 2024

Hello team,

I propose adopting a standardized naming convention for patches in the Individual Progression module to ensure compatibility with AzerothCore's DBUpdater. This tool depends on a specific naming structure to track whether a patch has already been applied, helping manage updates seamlessly.

Suggested Naming Convention
File Naming Format: YYYY_MM_DD_##_xxx.sql
Examples:
2023_06_03_00_patch.sql
2023_06_03_01_patch.sql
Details: The format includes the date (YYYY_MM_DD) followed by a sequence identifier (##) and a brief descriptor (xxx). This structure allows DBUpdater to correctly recognize, sequence, and apply patches.
Key Benefits
DBUpdater Compatibility: Ensures that patches are applied in the intended order, and previously applied patches are correctly recognized, reducing potential update errors.
Consistency and Organization: Facilitates clear organization and sequencing for patches, benefiting both developers and users.
Improved Maintenance: Supports an efficient update process by enabling easy identification and application of patches.
Thank you for considering this proposal. Please reach out if there are any questions or if additional details are needed!

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

1 participant