Bug 1522690 - Review Request: mohawk - time series metric data storage
Summary: Review Request: mohawk - time series metric data storage
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
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: 2017-12-06 09:37 UTC by Yaacov Zamir
Modified: 2020-02-25 15:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-25 15:06:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Yaacov Zamir 2017-12-06 09:37:22 UTC
Spec URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00684948-mohawk/mohawk.spec
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00684948-mohawk/mohawk-0.26.2-6.fc27.src.rpm
Description: Mohawk is a metric data storage engine that uses a plugin architecture for data storage and a simple REST API as the primary interface.
Fedora Account System Username: yaacov

Comment 1 Robert-André Mauchin 🐧 2018-10-04 20:11:40 UTC
Using:

Spec URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00771263-mohawk/mohawk.spec
SRPM URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00771263-mohawk/mohawk-0.33.3-1.fc27.src.rpm

 - The valid shorthand for Apache license is "ASL 2.0"

License:        ASL 2.0

 - We now use a new Go packaging method, see: https://fedoraproject.org/wiki/More_Go_packaging

  Here what it should look like


# https://github.com/MohawkTSDB/mohawk
%global goipath         github.com/MohawkTSDB/mohawk
Version:                0.33.3

%gometa

Name:           mohawk
Release:        1%{?dist}
Summary:        Time series metric data storage
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gourl}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires: golang(github.com/mattn/go-sqlite3)
BuildRequires: golang(github.com/spf13/cobra)
BuildRequires: golang(github.com/spf13/viper)
BuildRequires: golang(gopkg.in/mgo.v2)
BuildRequires: golang(gopkg.in/mgo.v2/bson)



%description
Mohawk is a metric data storage engine that uses a plugin architecture for 
data storage and a simple REST API as the primary interface.


%prep
%forgeautosetup


%build
%gobuildroot
%gobuild -o _bin/mohawk %{goipath}/src


%install
install -Dpm 0755 _bin/mohawk %{buildroot}%{_bindir}/mohawk


%files
%license LICENSE
%doc README.md
%{_bindir}/mohawk


%changelog
* Thu Oct 04 2018 Yaacov Zamir <kobi.zamir> - 0.33.3-1
- First package for Fedora



There's a bug with golang(github.com/mattn/go-sqlite3) I'll see if I can ask the maitainer to fix it.


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