Skip to content

Conversation

@MarkEWaite
Copy link
Contributor

Switch Note.id from Integer to Long

GitLab has changed the data type of the Note id field from int to bigint.

Fixes #1705

#1705 (comment) describes the issue in more detail.

Testing done

Automated testing only. Needs multiple affected users to report their test results with their installations before this can be moved from draft.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

GitLab has changed the data type of the Note id field from int to bigint.

Fixes jenkinsci#1705

jenkinsci#1705 (comment)
describes the issue in more detail.
@MarkEWaite MarkEWaite added the bug For changelog: Minor bug. Will be listed after features label Oct 11, 2024
@MarkEWaite
Copy link
Contributor Author

The incrementals link is not provided by the ci.jenkins.io job because the branch is out-of-date. Here is a zip file of the plugin built on my computer.

gitlab-plugin.zip

@github-actions github-actions bot added the tests This PR adds/removes/updates test cases label Oct 11, 2024
@MarkEWaite MarkEWaite added enhancement For changelog: Minor enhancement. Use 'major-rfe' for changes to be highlighted and removed tests This PR adds/removes/updates test cases bug For changelog: Minor bug. Will be listed after features labels Oct 11, 2024
@MarkEWaite MarkEWaite marked this pull request as ready for review October 11, 2024 15:22
@MarkEWaite MarkEWaite requested a review from a team as a code owner October 11, 2024 15:22
@MarkEWaite
Copy link
Contributor Author

@krisstern this is ready for review based on the positive report from #1705 (comment) as reported by @simonefranconetti

@github-actions github-actions bot added the tests This PR adds/removes/updates test cases label Oct 11, 2024
Copy link
Member

@krisstern krisstern left a comment

Choose a reason for hiding this comment

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

Thanks @MarkEWaite!
LGTM

@krisstern krisstern merged commit 06e4986 into jenkinsci:master Oct 11, 2024
@krisstern
Copy link
Member

Let me cut a new release for this now

@MarkEWaite MarkEWaite deleted the make-Note-id-a-long-for-1.8 branch October 11, 2024 18:43
MarkEWaite added a commit that referenced this pull request Oct 11, 2024
* Switch Note.id from Integer to Long

GitLab has changed the data type of the Note id field from int to bigint.

Fixes #1705

#1705 (comment)
describes the issue in more detail.

* NoteObjectAttributes.id needs to be Long also

---------

Co-authored-by: Kris Stern <krisstern@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement For changelog: Minor enhancement. Use 'major-rfe' for changes to be highlighted tests This PR adds/removes/updates test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object Attribute from Gitlab webhook out of range of int

2 participants