base698 opened a new pull request, #8607:
URL: https://github.com/apache/incubator-devlake/pull/8607
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
### ⚠️ Pre Checklist
> Please complete _ALL_ items in this checklist, and remove before submitting
- [X] I have read through the [Contributing
Documentation](https://devlake.apache.org/community/).
- [ ] I have added relevant tests.
- [X] I have added relevant documentation.
- [X] I will add labels to the PR, such as `pr-type/bug-fix`,
`pr-type/feature-development`, etc.
---
### Summary
This PR improves container build flexibility and unifies the JIRA epic
collector to use the v3 `/search/jql` endpoint exclusively.
**Key changes:**
- **Makefiles**
- Introduces `CONTAINER_CMD` (defaults to `docker`) and `PLATFORM`
(defaults to `linux/amd64`) for flexible builds across environments.
- Updates all `docker build` commands to respect `$(CONTAINER_CMD)` and
`--platform=$(PLATFORM)`.
- **Backend Dockerfile**
- Adds `-Wno-incompatible-pointer-types` and `USE_BUNDLED_ZLIB=ON` to
CMake flags for stable cross-compile of `libgit2`.
- Simplifies `make install -j` invocation.
- **JIRA Epic Collector**
- Removes `api/2/search` (Server/DC) collector path.
- Always uses the `api/3/search/jql` endpoint.
- Inlines next-page handling via `nextPageToken` and removes redundant
v2/v3 helper functions.
---
### Does this close any open issues?
- #8563 still broken for people according to the comments.
---
### Screenshots
N/A
---
### Other Information
#### Motivation
- Jira Collection broken against atlassian.net
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]