Bug 1816872 - Review Request: vim-fugitive-pagure - Pagure support for vim-fugitive plugin
Summary: Review Request: vim-fugitive-pagure - Pagure support for vim-fugitive plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 22:58 UTC by Jakub Kadlčík
Modified: 2021-07-18 14:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-07-18 14:30:54 UTC
Type: ---
Embargoed:
praiskup: fedora-review+


Attachments (Terms of Use)

Comment 1 Pavel Raiskup 2020-03-25 06:55:23 UTC
Source0 refers wrong URL:
https://github.com/tpope/vim-fugitive/archive/v%{version}/%{name}-%{version}.tar.gz

As you are the upstream, I'd propose to wrap formal release, and
upload the tarball as static tar.gz file to github.  It is additional
release work, but you can be 100% sure that the released tarball will
be byte-by-byte the same forever.  (not a requirement though)

Comment 2 Jakub Kadlčík 2020-03-25 12:47:21 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/frostyx/vim-fugitive-pagure/fedora-rawhide-x86_64/01319997-vim-fugitive-pagure/vim-fugitive-pagure.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/frostyx/vim-fugitive-pagure/fedora-rawhide-x86_64/01319997-vim-fugitive-pagure/vim-fugitive-pagure-1.2-1.fc33.src.rpm


> As you are the upstream, I'd propose to wrap formal release, 

You can see the releases here
https://github.com/FrostyX/vim-fugitive-pagure/releases


> and upload the tarball as static tar.gz file to github

Maybe we can file an RFE for tito to implement this feature?

Comment 3 Pavel Raiskup 2020-03-25 13:54:55 UTC
> Maybe we can file an RFE for tito to implement this feature?

I thought it is matter of defining releaser from pre-existing library
in tito - but yes, good idea if that isn't yet available.

Comment 4 Pavel Raiskup 2020-03-25 16:58:42 UTC
Thank you!

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[!]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[?]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: vim-fugitive-pagure-1.2-1.fc33.noarch.rpm
          vim-fugitive-pagure-1.2-1.fc33.src.rpm
vim-fugitive-pagure.noarch: W: spelling-error %description -l en_US Gbrowse -> Browse, G browse, Drowse
vim-fugitive-pagure.src: W: spelling-error %description -l en_US Gbrowse -> Browse, G browse, Drowse
vim-fugitive-pagure.src: W: no-%build-section
vim-fugitive-pagure.src: W: invalid-url Source0: vim-fugitive-pagure-1.2.tar.gz
2 packages and 0 specfiles checked; 0 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
vim-fugitive-pagure.noarch: W: spelling-error %description -l en_US Gbrowse -> Browse, G browse, Drowse
vim-fugitive-pagure.noarch: W: invalid-url URL: https://github.com/FrostyX/vim-fugitive-pagure <urlopen error [Errno -2] Name or service not known>
1 packages and 0 specfiles checked; 0 errors, 2 warnings.



Requires
--------
vim-fugitive-pagure (rpmlib, GLIBC filtered):
    vim-common
    vim-fugitive



Provides
--------
vim-fugitive-pagure:
    vim-fugitive-pagure



Generated by fedora-review 0.7.5 (5fa5b7e) last change: 2020-02-16
Command line :/usr/bin/fedora-review -b 1816872 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Generic
Disabled plugins: Perl, SugarActivity, R, Java, fonts, Haskell, Python, Ocaml, C/C++, PHP
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 5 Jakub Kadlčík 2020-03-25 22:07:35 UTC
Thank you for the review @praiskup!

Comment 6 Gwyn Ciesla 2020-03-26 13:55:56 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/vim-fugitive-pagure

Comment 7 Mattia Verga 2021-07-18 14:30:54 UTC
Package is in repos


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