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

Updates for Bitbucket 8.x #53

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

eeijlar
Copy link

@eeijlar eeijlar commented Apr 11, 2019

Hi Christian,

I have made some updates to your plugin to support Bitbucket 8.x.

Note:
I haven't had time to do the changes for the File Name plugin, only the File Size plugin so far. I hope to get to the File Name one in a future PR.

Regards
John

@christiangalsterer
Copy link
Owner

christiangalsterer commented Apr 18, 2019 via email

@paderka
Copy link

paderka commented May 16, 2019

Is there still an issue that doesn't allow to merge?

@xirixiz
Copy link

xirixiz commented May 23, 2019

Hi Christian,

Currently I`m migrating to version 6.x, hope you can merge this request any time soon. Thanks!

Regards,
Bram

@praiv
Copy link

praiv commented Jun 30, 2019

Hi Christian,

Just a kind reminder to approve and to merge the PR's

I believe many of us are waiting for it.

Thanks.

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eeijlar,

Thought you might want to remove these couple compiler/vcs.xml files from your first commit; the .gitignore was introduced afterwards, it doesn't retroactively apply. :)

In case those little details help moving forward,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed and update the pull request. I am stunned that anyone is even looking at this.

Thanks for the comments @mkgl

pom.xml Outdated
</dependency>
<dependency>
<groupId>com.atlassian.bitbucket.server</groupId>
<artifactId>bitbucket-scm-common</artifactId>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here's a tiny mis-indentation

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed!

@catalinFlorea
Copy link

Can this pull request be approved? We really need this plugin.

@focbenz
Copy link

focbenz commented Nov 29, 2019

Could be compiled by anyone with the Atlassian SDK and then installed as JAR in den Bamboo Server instance ... but would also appreciate an official merge and release.

@eeijlar eeijlar changed the title Updates for Bitbucket 6.x Updates for Bitbucket 6.x/8.x Jul 25, 2022
@eeijlar
Copy link
Author

eeijlar commented Jul 27, 2022

Branch creation is very slow now. It's looking at the entire commit history. The getChanges method is taking 4 seconds to execute on one repository where I am creating a branch. These must be related to Bitbucket 8.x

I also don't understand why branch creation triggers the hook in the first place. There would be no new files on a branch creation.

In my case there was a file checked into the repository 2 years ago which violates the size requirements of the hook, and it is failing branch creation for that reason:

image

I don't really care about previous violations though, that was an accidental check-in.

Any thoughts @raspy , @christiangalsterer

@eeijlar
Copy link
Author

eeijlar commented Jul 27, 2022

Branch creation is very slow now. It's looking at the entire commit history. The getChanges method is taking 4 seconds to execute on one repository where I am creating a branch. These must be related to Bitbucket 8.x

I also don't understand why branch creation triggers the hook in the first place. There would be no new files on a branch creation.

In my case there was a file checked into the repository 2 years ago which violates the size requirements of the hook, and it is failing branch creation for that reason:

image

I don't really care about previous violations though, that was an accidental check-in.

Any thoughts @raspy , @christiangalsterer

I have fixed this problem, when I was collecting the refs from the repository I wasn't doing anything with them. They should have been added to a set of refs.

@eeijlar eeijlar changed the title Updates for Bitbucket 6.x/8.x Updates for Bitbucket 8.x Jul 28, 2022
@christiangalsterer
Copy link
Owner

christiangalsterer commented Jul 28, 2022

First of all thank you for the contributions. I didn't had time to look into this for quite a while so I'm really happy for the contributions. As I haven't done any release for quite some time I need to figure out what the current regulations in the Atlassian Marketplace are.

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

Successfully merging this pull request may close these issues.

8 participants