From 01e0614dd245f947069a96b38df9846ad1510c9f Mon Sep 17 00:00:00 2001 From: Yankyyyy Date: Tue, 16 Dec 2025 05:45:12 +0000 Subject: [PATCH 1/2] refactor: minor fix update --- README.md | 6 +++--- .../doctype/repository/repository.json | 12 +++++++++--- .../doctype/repository_branch/repository_branch.json | 5 ++++- erpnext_github_integration/patches.txt | 1 + erpnext_github_integration/public/js/task_client.js | 2 +- 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f130af1..fd2808a 100644 --- a/README.md +++ b/README.md @@ -457,9 +457,9 @@ MIT License - see LICENSE file for details. ## Support -- **Documentation**: [Wiki](https://github.com/Yankyyyy/erpnext_github_integration/wiki) -- **Issues**: [GitHub Issues](https://github.com/Yankyyyy/erpnext_github_integration/issues) -- **Discussions**: [GitHub Discussions](https://github.com/Yankyyyy/erpnext_github_integration/discussions) +- **Documentation**: [Wiki](https://github.com/yourusername/erpnext_github_integration/wiki) +- **Issues**: [GitHub Issues](https://github.com/yourusername/erpnext_github_integration/issues) +- **Discussions**: [GitHub Discussions](https://github.com/yourusername/erpnext_github_integration/discussions) ## Changelog diff --git a/erpnext_github_integration/erpnext_github_integration/doctype/repository/repository.json b/erpnext_github_integration/erpnext_github_integration/doctype/repository/repository.json index 90c49e0..36fdd4b 100644 --- a/erpnext_github_integration/erpnext_github_integration/doctype/repository/repository.json +++ b/erpnext_github_integration/erpnext_github_integration/doctype/repository/repository.json @@ -112,8 +112,13 @@ "label": "Enabled" } ], - "links": [], - "modified": "2025-08-21 11:56:17.540867", + "links": [ + { + "link_doctype": "Task", + "link_fieldname": "github_repo" + } + ], + "modified": "2025-10-23 11:10:06.174293", "modified_by": "Administrator", "module": "Erpnext Github Integration", "name": "Repository", @@ -136,5 +141,6 @@ "row_format": "Dynamic", "sort_field": "modified", "sort_order": "DESC", - "states": [] + "states": [], + "track_changes": 1 } \ No newline at end of file diff --git a/erpnext_github_integration/erpnext_github_integration/doctype/repository_branch/repository_branch.json b/erpnext_github_integration/erpnext_github_integration/doctype/repository_branch/repository_branch.json index fdba1c6..a04b5b9 100644 --- a/erpnext_github_integration/erpnext_github_integration/doctype/repository_branch/repository_branch.json +++ b/erpnext_github_integration/erpnext_github_integration/doctype/repository_branch/repository_branch.json @@ -1,5 +1,6 @@ { "actions": [], + "autoname": "format:{repo_full_name}-{branch_name}", "creation": "2025-08-12 18:03:45.452647", "doctype": "DocType", "engine": "InnoDB", @@ -29,6 +30,7 @@ { "fieldname": "commit_sha", "fieldtype": "Data", + "ignore_user_permissions": 1, "label": "Commit SHA" }, { @@ -49,10 +51,11 @@ ], "istable": 1, "links": [], - "modified": "2025-08-20 11:22:33.050202", + "modified": "2025-10-23 12:58:08.194724", "modified_by": "Administrator", "module": "Erpnext Github Integration", "name": "Repository Branch", + "naming_rule": "Expression", "owner": "Administrator", "permissions": [], "row_format": "Dynamic", diff --git a/erpnext_github_integration/patches.txt b/erpnext_github_integration/patches.txt index cf7af62..b5e7b4e 100644 --- a/erpnext_github_integration/patches.txt +++ b/erpnext_github_integration/patches.txt @@ -4,4 +4,5 @@ [post_model_sync] # Patches added in this section will be executed after doctypes are migrated + erpnext_github_integration.patches.add_github_username \ No newline at end of file diff --git a/erpnext_github_integration/public/js/task_client.js b/erpnext_github_integration/public/js/task_client.js index 3a3156f..b859033 100644 --- a/erpnext_github_integration/public/js/task_client.js +++ b/erpnext_github_integration/public/js/task_client.js @@ -162,4 +162,4 @@ frappe.ui.form.on('Task', { }); }, __('GitHub')); } -}); +}); \ No newline at end of file From 8a7aaffb1c1365d1cf3feacced43aa2ad74cfb56 Mon Sep 17 00:00:00 2001 From: Yankyyyy Date: Tue, 16 Dec 2025 05:54:28 +0000 Subject: [PATCH 2/2] refactor: readme update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fd2808a..f130af1 100644 --- a/README.md +++ b/README.md @@ -457,9 +457,9 @@ MIT License - see LICENSE file for details. ## Support -- **Documentation**: [Wiki](https://github.com/yourusername/erpnext_github_integration/wiki) -- **Issues**: [GitHub Issues](https://github.com/yourusername/erpnext_github_integration/issues) -- **Discussions**: [GitHub Discussions](https://github.com/yourusername/erpnext_github_integration/discussions) +- **Documentation**: [Wiki](https://github.com/Yankyyyy/erpnext_github_integration/wiki) +- **Issues**: [GitHub Issues](https://github.com/Yankyyyy/erpnext_github_integration/issues) +- **Discussions**: [GitHub Discussions](https://github.com/Yankyyyy/erpnext_github_integration/discussions) ## Changelog