Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97e2689

Browse files
author
Gauvain Pocentek
committed
add support for branches creation and deletion
1 parent09e4a64 commit97e2689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎gitlab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,11 +701,11 @@ class Issue(GitlabObject):
701701
classProjectBranch(GitlabObject):
702702
_url='/projects/%(project_id)s/repository/branches'
703703
idAttr='name'
704-
canDelete=False
705704
canUpdate=False
706-
canCreate=False
707705
requiredGetAttrs= ['project_id']
708706
requiredListAttrs= ['project_id']
707+
requiredCreateAttrs= ['project_id','branch_name','ref']
708+
requiredDeleteAttrs= ['project_id']
709709
_constructorTypes= {'commit':'ProjectCommit'}
710710

711711
defprotect(self,protect=True):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp