Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1809469 - Review Request: tidb-server - A distributed NewSQL database compatible with MySQL protocol
Summary: Review Request: tidb-server - A distributed NewSQL database compatible with M...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2020-03-03 08:14 UTC by guoqiang
Modified: 2020-06-06 20:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-06 20:30:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description guoqiang 2020-03-03 08:14:11 UTC
Hello~

It's the first time for me to pack a (s)rpm, and I am seeking a sponsor.
The srpm is created with pre-compiled binaries from https://download.pingcap.org/tidb-v3.0.8-linux-arm64.tar.gz, and config files from https://github.com/pingcap/tidb.

There has been a successful build on koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=42131115

Spec URL:
It's in the SRPM.https://kojipkgs.fedoraproject.org//work/tasks/1291/42131291/tidb-server-v3.0.8-1.el7.src.rpm
SRPM URL:
https://kojipkgs.fedoraproject.org//work/tasks/1291/42131291/tidb-server-v3.0.8-1.el7.src.rpm

Description:
TiDB is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.

TiDB features:
* Horizontal Scalability
* MySQL Compatible Syntax
* Distributed Transactions with Strong Consistency
* Cloud Native
* Minimize ETL
* High Availability

Fedora Account System Username: n0vad3v

Comment 1 Zamir SUN 2020-03-03 11:03:36 UTC
Please update SPEC URL with the actual URL instead of a SRPM.
And please compile the binary in the build section rather than submit a srpm with pre-build binary, which is not allowed in Fedora.

Comment 2 Artur Frenszek-Iwicki 2020-03-03 12:12:18 UTC
>Group:          Applications/Databases
The "Group:" tag is not used in Fedora.
>%clean
Ditto for the "%clean" section.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections

>%description
%TiDB is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
The description should be broken down into multiple lines, each one no longer than 80 characters.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_summary_and_description

>%{__mkdir} -p %{buildroot}%{_bindir}
>%{__install} -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/tidb/config.toml
Macro forms of system executables should not be used.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_macros

Comment 3 Itamar Reis Peixoto 2020-06-06 20:30:38 UTC
your src.rpm is returning 404, please upload it again and reopen this ticket.


Note You need to log in before you can comment on or make changes to this bug.