-
Notifications
You must be signed in to change notification settings - Fork 129
/
tito.spec
868 lines (786 loc) · 41.8 KB
/
tito.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
%if 0%{?rhel} > 7 || 0%{?fedora}
%global use_python3 1
%global use_python2 0
%global ourpythonbin %{__python3}
%global our_sitelib %{python3_sitelib}
%else
%global use_python3 0
%global use_python2 1
%if 0%{?__python2:1}
%global ourpythonbin %{__python2}
%global our_sitelib %{python2_sitelib}
%else
%global ourpythonbin %{__python}
%global our_sitelib %(%{ourpythonbin} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
%endif
%endif
%if 0%{?rhel} == 7
%bcond_with check
%else
%bcond_without check
%endif
Name: tito
Version: 0.6.27
Release: 1%{?dist}
Summary: A tool for managing rpm based git projects
License: GPL-2.0-only
URL: https://github.com/rpm-software-management/tito
# Sources can be obtained by
# git clone https://github.com/rpm-software-management/tito
# cd tito
# tito build --tgz
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
%if %{use_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-setuptools
Requires: python3-bugzilla
Requires: python3-blessed
Requires: rpm-python3
Recommends: python3-fedora-distro-aliases
%else
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: python-setuptools
Requires: python-bugzilla
Requires: python-blessed
Requires: rpm-python
%endif
BuildRequires: asciidoc
BuildRequires: docbook-style-xsl
BuildRequires: libxslt
BuildRequires: rpmdevtools
BuildRequires: rpm-build
BuildRequires: tar
BuildRequires: which
%if %{with check}
BuildRequires: createrepo_c
BuildRequires: git-core
BuildRequires: rsync
BuildRequires: python3-blessed
BuildRequires: python3-bugzilla
BuildRequires: python3-pycodestyle
BuildRequires: python3-pytest
BuildRequires: python3-rpm
%endif
Requires: rpm-build
Requires: rpmlint
Requires: fedpkg
Requires: fedora-packager
Requires: rpmdevtools
# Cheetah used not to exist for Python 3, but it's what Mead uses. We
# install it and call via the command line instead of importing the
# previously potentially incompatible code, as we have not yet got
# around to changing this
Requires: /usr/bin/cheetah
%description
Tito is a tool for managing tarballs, rpms, and builds for projects using
git.
%prep
%setup -q -n tito-%{version}
%build
%{ourpythonbin} setup.py build
# convert manages
a2x --no-xmllint -d manpage -f manpage titorc.5.asciidoc
a2x --no-xmllint -d manpage -f manpage tito.8.asciidoc
a2x --no-xmllint -d manpage -f manpage tito.props.5.asciidoc
a2x --no-xmllint -d manpage -f manpage releasers.conf.5.asciidoc
%install
rm -rf $RPM_BUILD_ROOT
%{ourpythonbin} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{our_sitelib}/*egg-info/requires.txt
# manpages
%{__mkdir_p} %{buildroot}%{_mandir}/man5
%{__mkdir_p} %{buildroot}%{_mandir}/man8
cp -a titorc.5 tito.props.5 releasers.conf.5 %{buildroot}/%{_mandir}/man5/
cp -a tito.8 %{buildroot}/%{_mandir}/man8/
# bash completion facilities
install -Dp -m 0644 share/tito_completion.sh %{buildroot}%{_datadir}/bash-completion/completions/tito
%if %{with check}
%check
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
./runtests.sh --no-cov
%endif
%files
%doc AUTHORS COPYING
%doc doc/*
%doc %{_mandir}/man5/titorc.5*
%doc %{_mandir}/man5/tito.props.5*
%doc %{_mandir}/man5/releasers.conf.5*
%doc %{_mandir}/man8/tito.8*
%{_bindir}/tito
%{_bindir}/generate-patches.pl
%{_datadir}/bash-completion/completions/tito
%dir %{our_sitelib}/tito
%{our_sitelib}/tito/*
%{our_sitelib}/tito-*.egg-info
%changelog
* Mon Nov 11 2024 Jakub Kadlčík <[email protected]>
- Defer submodule detection to git
- Many improvements to tests and they now run during package build
- New config option `buildconfig.test_version_suffix`
* Tue Mar 05 2024 Jakub Kadlcik <[email protected]> 0.6.26-1
- Fix issue with missing version numbers in the changelog ([email protected])
- Tito wrapper for easier development ([email protected])
* Sun Jan 28 2024 Jakub Kadlcik <[email protected]>
- Use rpm.ds instead of deprecated hdr.dsFromHeader ([email protected])
- Support branch aliases in releasers ([email protected])
- Document how to automate bodhi updates ([email protected])
- Use raw strings for regex patterns ([email protected])
- Allow tito build without .tito directory ([email protected])
- Unify README and index.md ([email protected])
- Fix PEP8 issues found by runtests.py ([email protected])
- Replace egrep with grep -E ([email protected])
- Don't use --cacheonly on DNF5 ([email protected])
* Sat Jul 08 2023 Jakub Kadlcik <[email protected]> 0.6.24-1
- Will now copy both source files and patch files declared in the spec
- Fix UpstreamBuilder deprecation warning (#461) ([email protected])
- Fix the setup.py license according to tito.spec (#433) ([email protected])
* Tue Jun 13 2023 Jakub Kadlcik <[email protected]> 0.6.23-1
- Replace `submodule--helper list` with `git config --get-regexp`
- do not overwrite packit.yaml and its variants ([email protected])
- packit: fixing the Fedora build failures ([email protected])
- Don't upload patches to the lookaside cache ([email protected])
- use spdx license ([email protected])
* Mon Nov 14 2022 Jakub Kadlcik <[email protected]> 0.6.22-1
- Fix python2 urlretrieve import ([email protected])
- Fixed submodule archives concatenation ([email protected])
- Fixed issue #414 ([email protected])
- Fixed issue #413 ([email protected])
- Revert 45d431ad149cb33e2462a990c4c4f29e6bb2bb7e ([email protected])
* Thu Jul 21 2022 Jakub Kadlcik <[email protected]> 0.6.21-1
- Properly catch TitoException ([email protected])
- Add documentation for the MockBuilder ([email protected])
- Allow to define mock chroot in tito.props ([email protected])
- Fix recursion error in MockBuilder ([email protected])
- DistGitReleasers: don't nuke external sources with fetch_sources ([email protected])
- Add installation instructions from PyPI ([email protected])
- Add long_description to setup.py ([email protected])
* Wed Feb 23 2022 Jakub Kadlcik <[email protected]> 0.6.20-1
- Sync repo (in addition to tag) during mead build ([email protected])
- Add 'Building RHEL packages with Tito' as external doc ([email protected])
- Consider the current project git config when releasing to DistGit
- Print the problematic binary files ([email protected])
* Sun Aug 15 2021 Jakub Kadlcik <[email protected]> 0.6.19-1
- Drop unused urllib.request import ([email protected])
* Wed Jun 23 2021 Jakub Kadlcik <[email protected]> 0.6.18-1
- Document fetch_sources option in tito.props ([email protected])
- Rename fetch-sources to fetch_sources in the tito.props config
- Adding option to fetch sources ([email protected])
- Change the master branch in releasers.conf to rawhide ([email protected])
* Mon May 17 2021 Jakub Kadlcik <[email protected]> 0.6.17-1
- Update releasers.conf ([email protected])
- Make build --verbose autocompletable ([email protected])
- Add support for centpkg ([email protected])
- Remove extraneous extra newline ([email protected])
- Add some documentation for tito.builder.SubmoduleAwareBuilder
- Update based on feedback: 1. Remove PushDir, tito.common.chdir has the same
functionality so use that instead. 2. Remove useless override of constructor,
it's just extra noise. ([email protected])
- 150 Add support for repos that use submodules. Allow though submodules are a
contentious topic, this adds a submodule_aware_builder ([email protected])
- doc: fix typo tito.props ([email protected])
- Update fedora releaser in .tito/releasers.conf ([email protected])
* Tue Jan 26 2021 Jakub Kadlcik <[email protected]> 0.6.16-1
- Fix manpage generation on Fedora Rawhide (F34)
- Ignore spectool warnings
- Skip nonexisting extra sources
- Fix copy_extra_sources for remote URLs
- Use --no-rebuild-srpm for scratch builds in KojiReleaser
* Fri Jul 10 2020 Jakub Kadlcik <[email protected]> 0.6.15-1
- FedoraGitReleaser: upload extra sources to lookaside cache
- When extra source file exist, then do not copy it
* Mon May 04 2020 Jakub Kadlcik <[email protected]> 0.6.14-1
- Fix #367 - copy_extra_sources for alternative builders ([email protected])
- Fix #243 - Add a list of projects using tito ([email protected])
- Fix #364 - Make yes or no input less aggressive ([email protected])
- Fix #358 - Move bugzilla code to a separate file ([email protected])
- Fix #158 - Separate .tito directory creation from tito.props file creation ([email protected])
- Fix #338 - Use os.makedirs instead of running mkdir -p command ([email protected])
- Fix #331 - Do not specify file digest algorithms ([email protected])
- #305 - Add a possibility to have full datetime entries in changelog ([email protected])
- #252 - Use template to generate file with __version__ ([email protected])
- #187 - Implement --version parameter ([email protected])
- mention the #tito irc channel in the readme ([email protected])
- Describe how to release tito ([email protected])
- Move tito under rpm-software-management namespace ([email protected])
* Sun Mar 29 2020 Jakub Kadlcik <[email protected]> 0.6.13-1
- Add _copy_extra_sources() method to BuilderBase class.
- Rename HACKING to HACKING.md so it renders on GitHub ([email protected])
- Modernize developer installation ([email protected])
- make get_project_name more resilient ([email protected])
- Use pycodestyle pacakge when pep8 is not available ([email protected])
- Move to python-blessed ([email protected])
- Fix the Source0 URL and prep phase ([email protected])
- run_command_print should behave similar to run_command ([email protected])
* Fri Dec 20 2019 Jakub Kadlčík <[email protected]> - 0.6.12-3
- The previous Source0 URL fix was not correct
* Fri Dec 20 2019 Jakub Kadlčík <[email protected]> - 0.6.12-2
- Fix the Source0 URL and prep phase
* Fri Dec 20 2019 Jakub Kadlcik <[email protected]> 0.6.12-1
- Remove obsolete Group tag ([email protected])
- Update URL and Source locations ([email protected])
- Fix cheetah binary dependency ([email protected])
- Correct and make less confusing the conditional Python macros ([email protected])
- python-devel → python2-devel ([email protected])
- %%{python_sitelib} → %%{python2_sitelib} ([email protected])
- Remove %%clean section ([email protected])
- Use python3 on EPEL8 ([email protected])
- Do not require obsoleted fedora-cert ([email protected])
- Fix tito build --test --rpm -i Traceback on Fedora 31 ([email protected])
- Enable GnuPG signed tags ([email protected])
- Fix #335 handle source tarballs with UTF8 characters in the name ([email protected])
- Remove deprecated BuildRoot macros from spec ([email protected])
- Releaser: Ensure rpmlintrc files are copied when releasing ([email protected])
- Releaser: Ensure SUSE-style changes file is copied when releasing ([email protected])
- Tagger: Add SUSETagger to support SUSE-style detached changelogs ([email protected])
- Add support for building with Git LFS. ([email protected])
- use built-in shutil.copy2 instead of cp command ([email protected])
- Avoid double builds with mock ([email protected])
- Fix rsync failures in dockerized tests, update for F27. ([email protected])
* Thu Dec 07 2017 Devan Goodwin <[email protected]> 0.6.11-1
- Fixing remote_git_name ([email protected])
- Fix links in README.md file ([email protected])
- Encourage usage of git push --follow-tags ([email protected])
- Print mock output when building with MockBuilder ([email protected])
- Fix a race condition when /tmp/tito doesn't exist ([email protected])
- Don't append 'None' to Release line with no '%%{?dist}' part
- python3's map() returns a map object, but we expect sources to be a list
- Submitting was missing a t. ([email protected])
- update links ([email protected])
- use LC_ALL=C.UTF-8 rather than plain C ([email protected])
- make ReleaseTagger honour --use-version ([email protected])
- also verify that ReleaseTagger supports --use-release ([email protected])
- add test for ReleaseTagger together with --use-version ([email protected])
- Format package list more cleanly ([email protected])
- Custom tag support in tito release ([email protected])
- VersionTagger should support custom tag format ([email protected])
- Remove createrepo_c BR from spec ([email protected])
- Use createrepo_c for creating rpm-md repos ([email protected])
- Fixup Fedora Dockerfiles to work correctly ([email protected])
- Remove useless EL5 stuff ([email protected])
* Wed Feb 01 2017 Devan Goodwin <[email protected]> 0.6.10-1
- Do not undo tags when git state is dirty ([email protected])
- Parse options in `tito init` ([email protected])
- Only use `rpmbuild --noclean` if it is supported ([email protected])
- Explicitly define indicies in formatting statements ([email protected])
- Achieve quiet output from `rpmbuild` without passing `--quiet`
- Update the MANIFEST.in ([email protected])
- Correctly pass verbosity options through the builder CLI
- Use correct print-formatting directive in debugging ([email protected])
- Use `.format()` string formatting correctly in Builder ([email protected])
- Refactor `rpmbuild` invocation for readability ([email protected])
- Added `--quiet` and `--verbose` to `tito build` ([email protected])
- Add a Travis CI manifest ([email protected])
- Only flush output stream if flushing is supported ([email protected])
- Added support for choosing platforms for tests ([email protected])
- Refactored version->tag mapping logic in Tagger ([email protected])
- Improved debugging for RPM build step ([email protected])
- Print command debugging information only once ([email protected])
- Flush output buffers ([email protected])
- Document `tito tag --use-release` in the manpage ([email protected])
- Added an option to not escalate privileges on `tito build --install`
- Factor out the version->tag mapping in the Builder ([email protected])
- Collapse tagger class selection logic ([email protected])
- Rename `globalconfig` section to `buildconfig` in README
- fixes #29 - remove --list-tags and --only-tags ([email protected])
- 253 - print cmd info when --debug is supplied ([email protected])
- Work around `dnf` issues and install builddep for Rawhide
* Mon Jan 09 2017 Devan Goodwin <[email protected]> 0.6.9-1
- Simplified version and release update logic ([email protected])
- Added `--use-release` flag for `tito tag` ([email protected])
- Use `def` instead of a lambda for function assignment ([email protected])
- Fix typos in man pages ([email protected])
- explain how automatic tagging was done ([email protected])
- Rename CargoTagger as CargoBump ([email protected])
- Fix errors in documentation ([email protected])
- fix few pep8 errors ([email protected])
- Read tito.props and look for pkg managers section.
- Implement cargo tagger using regular expressions (without toml library)
- Add entry point for Cargo tagger and tagger class.
* Tue Nov 01 2016 Devan Goodwin <[email protected]> 0.6.8-1
- Don't use a special tagger for the `--use-version` case ([email protected])
* Wed Oct 05 2016 Devan Goodwin <[email protected]> 0.6.7-1
- Hookup tito's --no-cleanup with rpmbuild's --noclean. ([email protected])
- Print package manager output in _auto_install ([email protected])
- Use 'dnf reinstall' when package is already installed ([email protected])
- Install packages via DNF if available ([email protected])
- CentOS uses yum ([email protected])
- Allow customizing git commit message ([email protected])
- README.md: Also link to Fedora wiki page collection of these tools
- mv rel-eng/ .tito/ ([email protected])
- buildroot tag is not needed for ages ([email protected])
- better release number for untagged packages ([email protected])
- Only pass one project_name to copr build command ([email protected])
- Just a small typo ([email protected])
- remove dependency on yum-utils ([email protected])
* Tue Apr 19 2016 Devan Goodwin <[email protected]> 0.6.6-1
- add support for %%autosetup ([email protected])
* Fri Apr 08 2016 Devan Goodwin <[email protected]> 0.6.5-1
- Add ability to specify a custom changelog during tag ([email protected])
- Removes broken link to tito annoucements ([email protected])
* Tue Jan 26 2016 Devan Goodwin <[email protected]> 0.6.4-1
- Tagging with --use-version did not work with Mead projects.
- Check if self.old_cwd is defined before calling it in GitAnnex
- Ensure GitAnnexBuilder cleanup returns to proper directory
- Return only .spec basename; Fix dgoodwin/tito#196 ([email protected])
* Fri Jan 08 2016 Devan Goodwin <[email protected]> 0.6.3-1
- Added ability to pass extra copr-cli build options to the copr releaser.
- Fix changelog format function name ([email protected])
- fix mock link ([email protected])
- Set non-zero exit code when copr-cli fails ([email protected])
- Document possibility to upload SRPM directly to Copr ([email protected])
- Change asserted behavior after fe4c0bf ([email protected])
- Add possibility to upload SRPM directly to Copr ([email protected])
- Determine correct package manager DNF is now prefered on Fedora, but it is
not installed on EL6 or EL7 ([email protected])
- Ask user to run DNF instead of YUM ([email protected])
- Add tito tag --use-version argument to man page ([email protected])
- Fix upstream/distribution builder failure to copy spec. ([email protected])
- Allow a user specific Copr remote SRPM URL. ([email protected])
* Fri Jul 24 2015 Devan Goodwin <[email protected]> 0.6.2-1
- fixes(188) Run git-annex lock after building annexed file set.
* Mon Jul 20 2015 Devan Goodwin <[email protected]> 0.6.1-1
- Fix rpmbuild_options array handling from builder args ([email protected])
- Filter lines beginning with "Merge" from the changelog. ([email protected])
- Provide ability to turn off colored output. Fixes #182. ([email protected])
* Fri Jun 12 2015 Devan Goodwin <[email protected]> 0.6.0-1
- Add support for Red Hat Java MEAD builds. ([email protected])
- Enable mkdocs and add documentation on Mead. ([email protected])
- Add RHPKG/FEDPKG_USER to be passed to rh/fedpkg ([email protected])
- Replace old Perl script for munging RPM release number. ([email protected])
- Give Tito some color! ([email protected])
- Remove support for very old spacewalk user config file. ([email protected])
- Allow builder arguments to be given multiple times. ([email protected])
- Fix tarball timestamps from git archive with Python. ([email protected])
- New - bash-completion facilities ([email protected])
- clarify --offline option #141 ([email protected])
- substitute /releng for /.tito #161 ([email protected])
- Allow override of rpmbuild_options from builder arguments ([email protected])
- Fixes macro initialisation on EL6, F22+ ([email protected])
- Help new packagers find tools related to tito ([email protected])
- no need to gzip man pages, rpmbuild do that automatically ([email protected])
- use python3 on Fedora 22 ([email protected])
* Tue Dec 23 2014 Devan Goodwin <[email protected]> 0.5.6-1
- Require new srpm_disttag for rsync/yum releasers. ([email protected])
- Drop more test only requirements from spec. ([email protected])
- NameError: global name 'RawConfigParser' is not defined ([email protected])
- NameError: global name 'getoutput' is not defined ([email protected])
- E:166,16: Undefined variable 'config' (undefined-variable)
- defattr is not needed ([email protected])
- get rid of wildcards imports ([email protected])
- E:112,24: Instance of BuilderBase has no REQUIRED_ARGS member (no-member)
- change inheritance for ObsReleaser ([email protected])
- raw_input was renamed under python3 ([email protected])
- TypeError: __init__() takes exactly 1 argument (2 given) ([email protected])
- MockBuilder: cleanup underlying builder on completion ([email protected])
- Fix bugs building old tag with custom tito.props. (at that time)
- add links to upstream announcements and how-to articles
- add rpmdevtools as build dep for el5 ([email protected])
- Fix failing tests with no ~/.bugzillarc. ([email protected])
- Add documentation for bugzilla flag checking. ([email protected])
- Hookup bugzilla flag checking with dist git releasers. ([email protected])
- Fixes for Python 3. ([email protected])
- Add support for checking bz flags. ([email protected])
- Refactor dist-git releasers to separate module. ([email protected])
- fix the configuration examples to match the code ([email protected])
- add mailmap for cleaner shortlog output ([email protected])
- Allow overriding of builder on all releasers ([email protected])
- Cleanup builders on interruption when called directly ([email protected])
* Fri May 16 2014 Devan Goodwin <[email protected]> 0.5.5-1
- Merge pull request #130 from domcleal/git-annex-cleanup ([email protected])
- Fix a test issue. ([email protected])
- Fix bugs in git-annex cleanup method ([email protected])
- Remove excess whitespace on EL6 and duplicate SRPM output ([email protected])
* Mon May 12 2014 Devan Goodwin <[email protected]> 0.5.4-1
- make version comparison compat with python2 and python3
* Mon May 12 2014 Devan Goodwin <[email protected]> 0.5.3-1
- avoid syntax error on el5 ([email protected])
- Support pre-5.20131213 versions of git-annex for EL6 ([email protected])
- Add version comparison utility ([email protected])
* Fri May 09 2014 Devan Goodwin <[email protected]> 0.5.2-1
- Fix releaser getcwd error. ([email protected])
* Fri May 09 2014 Devan Goodwin <[email protected]> 0.5.1-1
- Raise error on failed run_command. ([email protected])
- Allow builder to run in test mode on untagged project ([email protected])
- Add 'scl' builder option for software collection name ([email protected])
- added rpmbuild output to an error raised by tito to easier the error's cause
analysis ([email protected])
- propagate docs to docker public registry ([email protected])
- spec: remove dependency on GitPython ([email protected])
- Update tito.8.asciidoc ([email protected])
- Cleanup releasers + builders when interrupted ([email protected])
- make run_command_print() compatible with python3 ([email protected])
- remove unused import "commands" ([email protected])
- Change package-specific config message to debug ([email protected])
* Mon Mar 24 2014 Devan Goodwin <[email protected]> 0.5.0-1
- Prep for python3. ([email protected])
- Print output live for longer running rpmbuild commands. ([email protected])
- Add GitAnnexBuilder, using git-annex to store blobs ([email protected])
- Remove legacy CvsBuilder and CvsReleaser. ([email protected])
- Stop writing temp file to load tito.props from past tag.
- Remove deprecated support for build.py.props config filename.
- Remove a very old hack for assuming config from Makefiles.
- Refactor config overriding. ([email protected])
- Move taggers to sub-directory. ([email protected])
- Move releasers to sub-directory. ([email protected])
- Improved docs for [version_template] section of tito.props
- allow empty dist tag in functional tests ([email protected])
- docs: createrepo is needed for functional tests ([email protected])
- provide config for editorconfig plugins ([email protected])
- Add more missing documentation to MANIFEST.in. ([email protected])
- Assume a default fetch strategy. ([email protected])
- Add markdown docs for FetchBuilder instead of manpage. ([email protected])
- Fix releasers and respect offline flag. ([email protected])
- Support release with fetch builder. ([email protected])
- Add support for passing builder args through a releaser.
- MANIFEST.in: include README.mkd and asciidoc files ([email protected])
- Rename --builder-arg to just --arg in build command. ([email protected])
- Fix issue with releaser temp dir. ([email protected])
- Refactor to just one config object. ([email protected])
- Make external source builder fetch strategy configurable.
- Fix buildroot using ~/rpmbuild/BUILDROOT. ([email protected])
- Refactor builders to allow separate modules. ([email protected])
- Restore building of specific tags. ([email protected])
- Start building with external sources and no tag. ([email protected])
- Allow possibility of building without a pre-existing tag.
- Print koji/brew task ID and URL during release. ([email protected])
* Thu Nov 14 2013 Devan Goodwin <[email protected]> 0.4.18-1
- Merge the FiledVersionTagger into the base VersionTagger.
- add Copr releaser ([email protected])
- Fix broken asciidoc. ([email protected])
- Fix old versions in yum repodata. ([email protected])
- adding the FiledVersionTagger class that we are using internally
- tito report man page missing options ([email protected])
- Implement OBS releaser ([email protected])
* Fri Aug 02 2013 Devan Goodwin <[email protected]> 0.4.17-1
- Fix permissions after a Fedora/Brew build. ([email protected])
- Comment out old nightly releaser. ([email protected])
- add newline to sys.stderr.write ([email protected])
* Tue Jul 09 2013 Devan Goodwin <[email protected]> 0.4.16-1
- Fix KojiGitReleaser method arguments. ([email protected])
* Mon Jul 08 2013 Devan Goodwin <[email protected]> 0.4.15-1
- docs clean up and additions for build_targets ([email protected])
* Mon Jul 08 2013 Devan Goodwin <[email protected]> 0.4.14-1
- resolve tito build failure on git 1.7.3.5 or older ([email protected])
- Add more debugging facilities ([email protected])
* Thu Jun 13 2013 Devan Goodwin <[email protected]> 0.4.13-1
- allow multiline blacklist/whitelist ([email protected])
- warn when no %%changelog section is present ([email protected])
- Fix DistributionReleaser with GemBuilder ([email protected])
- Fix gem builder ([email protected])
- import error_out from tito.common ([email protected])
- use correct path in rel-eng/packages if package reside in git-root for
DistributionBuilder ([email protected])
- add missing import of commands ([email protected])
- check if option in config exist ([email protected])
- add example for remote_git_name ([email protected])
- allow to override name of remote dist-git repo ([email protected])
- add to releaser self.config which will contains values from global and pkg
config ([email protected])
- use correct path in rel-eng/packages if package reside in git-root
* Fri Apr 26 2013 Devan Goodwin <[email protected]> 0.4.12-1
- mark build.py.props as obsolete ([email protected])
- mark spacewalk.releng namespace as obsolete ([email protected])
- various enhancement to man pages ([email protected])
- document KojiReleaser and do not mark it as experimental any more
- document DEBUG environment variable ([email protected])
- document environment variable EDITOR for tagger ([email protected])
- Fix bad copy paste in releaser. ([email protected])
- document scl option for rsync releaser ([email protected])
- document RSYNC_USERNAME ([email protected])
- add SCL support to RsyncReleaser ([email protected])
- remove empty lines from rpm output ([email protected])
- use SCL for KojiReleaser ([email protected])
- move scl rpmbuild options to function and allow to build rpm using SC
- new option --scl which will allows you to build srpm for software collection
- fix the whitespace - tabs->spaces ([email protected])
- add --yes on tito release to keep from requiring input ([email protected])
- Enable tito release --test for git releasers * Store the --test flag on the
releaser and pass it to the builder * With --test in effect, have the builder
update the spec file * When the builder does so it also updates the
build_version to include git hash ([email protected])
- Add ability to customize rsync arguments ([email protected])
- Fix broken extraction of bugzilla numbers from commits. ([email protected])
- Re-add write permission fedpkg takes away. ([email protected])
- Ensure rsync preserves timestamps and permissions ([email protected])
- document SCRATCH environment variable ([email protected])
- look for spec file in project directory ([email protected])
- document NO_AUTO_INSTALL option ([email protected])
- 31 - if build fails due missing dependecies, suggest to run yum-builddep
- document ONLY_TAGS variable ([email protected])
- Do not create patch if there are binary files ([email protected])
- Raise error if there are two spec files ([email protected])
- Make increase_version _ aware and return original string upon failures
- merge common code from tagger and builder ([email protected])
- allow tagger to get values from package config and override values in
global_config ([email protected])
- Allow user to define which package need to be installed before tagging.
- Fixed check for existing tag ([email protected])
- do not fail if spec does not have any source ([email protected])
- Add install instructions ([email protected])
- NoTgzBuilder - do not guess source, get it correctly from spec file
* Thu Jan 17 2013 Devan Goodwin <[email protected]> 0.4.11-1
- add a --scratch option for KojiReleaser ([email protected])
- Fix no_build error in KojiReleaser.
* Wed Nov 28 2012 Devan Goodwin <[email protected]> 0.4.10-1
- Add --no-build; this will allow scripted DistGit commits and
koji/brew chain-builds ([email protected])
- Added gembuilder, cleaned up pep8 ([email protected])
- Add a Travis configuration ([email protected])
- Update README.mkd ([email protected])
- fix: RsyncReleaser doesn't handle multiple rsync locations
- remove tabs and trailing whitespace. add whitespace between methods
- Handle stderr noise getting from remote server ([email protected])
- Can now specify a build target for fedora and distgit releasers
* Tue Sep 04 2012 Devan Goodwin <[email protected]> 0.4.9-1
- Stop passing --installdeps for mock builds. ([email protected])
- YumRepoReleaser feature: createrepo command can now be specified from
releasers.conf with the 'createrepo_command' config option
- Created new releaser called RsyncReleaser. Based heavily on YumRepoReleaser.
Refactored YumRepoReleaser to inherit most code from RsyncReleaser.
- Optionally print stacktrace whenever error_out is hit ([email protected])
- encourage users to push only their new tag ([email protected])
- Attempt to copy local Sources during releases. ([email protected])
* Mon Apr 02 2012 Devan Goodwin <[email protected]> 0.4.8-1
- Fix MockBuilder for packages that use non-standard builders normally.
- interpret '0' as False for changelog_with_email setting. ([email protected])
* Thu Mar 15 2012 Devan Goodwin <[email protected]> 0.4.7-1
- Fix issues with DistributionBuilder constructor ([email protected])
* Wed Mar 14 2012 Devan Goodwin <[email protected]> 0.4.6-1
- Issue 39: Create /tmp/tito if it doesn't already exist. ([email protected])
- Add support for test build releases. ([email protected])
- Stop passing all CLI args to builders. ([email protected])
- Add mock builder speedup argument. ([email protected])
- Add support for no-value args in builder. ([email protected])
- Fix rsync options for yum repo releases. ([email protected])
- Add support for customizable changelog formats ([email protected])
* Tue Jan 24 2012 Devan Goodwin <[email protected]> 0.4.5-1
- Extract bz's and prompt to modify commit message in git releasers.
* Mon Jan 23 2012 Devan Goodwin <[email protected]> 0.4.4-1
- Issue #35: EDITOR with arguments produces backtrace ([email protected])
- remove unused fedora_cert reading ([email protected])
- Drop to shell when dist-git merge errors encountered. ([email protected])
- Use proper temp dirs for releasing. ([email protected])
- Fix git release diff command. ([email protected])
* Thu Dec 15 2011 Devan Goodwin <[email protected]> 0.4.3-1
- Escape percent character in changelog. ([email protected])
- Fix distribution builder missing args in constructor.
- Add release to usage, alphabetize list. ([email protected])
- PEP8 cleanup. ([email protected])
- No need to maintain timestamps: remove -t and -O from rsync command.
- Chdir to yum_temp_dir after creating, avoids rsync's getcwd error
- Use -O during rsync commands to fix time setting errors. ([email protected])
* Mon Nov 28 2011 Devan Goodwin <[email protected]> 0.4.2-1
- Clean out old versions of RPMs when generating yum repos. ([email protected])
- Update manpage to show multiple rsync paths. ([email protected])
* Fri Nov 25 2011 Devan Goodwin <[email protected]> 0.4.1-1
- Allow one build to go to multiple yum repo URLs. ([email protected])
- Fix --no-cleanup for release module. ([email protected])
- Add a BrewDownloadBuilder. ([email protected])
- Use proper temp directories to build. ([email protected])
- Fix permissions when rsync'ing yum repositories. ([email protected])
- Switch to CLI fedpkg command instead of module. ([email protected])
* Wed Nov 09 2011 Devan Goodwin <[email protected]> 0.4.0-1
- Fix import error with new fedpkg version. ([email protected])
- Add a KojiGitReleaser. ([email protected])
- Adding --use-version to allow Tito to force a version to use.
- Support SCRATCH=1 env variable for koji releaser. ([email protected])
- Support ONLY_TAGS env variable for koji releaser. ([email protected])
- List releasers option. ([email protected])
- Documentation update. ([email protected])
- Allow releaseing to multiple targets at once, and add --all-starting-with.
- Make auto-install available to all builders. ([email protected])
- Allow setting specific builder and passing builder args on CLI. (dgoodwin@rm-
rf.ca)
- Add new mechanism for passing custom arguments to builders. (dgoodwin@rm-
rf.ca)
- HACKING tips updated. ([email protected])
- Add a rsync username env variable for yum repo releaser. ([email protected])
- Restructure release CLI. ([email protected])
- Parsing spec files and bumping their versions or releases is now in Python.
* Wed Oct 05 2011 Devan Goodwin <[email protected]> 0.3.3-1
- Clarify some initial project layout documentation. ([email protected])
- match based on the tag for the package we are building ([email protected])
- Teach tito how to checkout EUS branches ([email protected])
- Remove release parameter from _update_package_metadata() ([email protected])
- Avoid traceback if rpmbuild fails ([email protected])
- Make Fedora git builds a little more tolerant if you need to re-run.
- Fix the binary spew in SOURCES on some weird tags. ([email protected])
- Do not print traceback when user lacks write permission ([email protected])
- Fix Fedora git releaser to use more reliable commands. ([email protected])
- Remove the old tito build --release code. ([email protected])
- Allow custom releasers to be loaded and used. ([email protected])
- Introduce new CLI module for releases. ([email protected])
- Use fedpkg switch branch for git releases. ([email protected])
- Do not print traceback when user hit Ctrl+C ([email protected])
- '0' is True, we want it as false ([email protected])
* Tue Apr 26 2011 Devan Goodwin <[email protected]> 0.3.2-1
- add debug logging ([email protected])
* Tue Apr 26 2011 Devan Goodwin <[email protected]> 0.3.1-1
- flip condition so new files are added and existing files are copied
- fix traceback if git_email is not specified ([email protected])
- Refactor release code out of the builder class. ([email protected])
- Configure tito for Fedora git builds. ([email protected])
- Complete Fedora git build process. ([email protected])
- if remote.origin is not set, assume --offline and print warning, but proceed
- Source can be tar.bz2 ([email protected])
- Source can be without number ([email protected])
- add man page for tito.props(5) ([email protected])
- document KOJI_OPTIONS options of titorc ([email protected])
- add option HIDE_EMAIL to .titorc, which will hide your email in first line of
changelog entry ([email protected])
- pass user_config to tagger class ([email protected])
- issue 18 - do not print TB if user.name, user.email is not set
- Upload sources and confirm commit during git release. ([email protected])
- First draft of Fedora Git releasing. ([email protected])
- Add a --dry-run option for build --release. ([email protected])
- Allow user config setting for sub-packages to skip during auto-install.
- Hookup bugzilla extraction during cvs release. ([email protected])
- Plus and dot chars in git email handled correctly now ([email protected])
- put emails in changelog only if changelog_with_email is set to 1 in
[globalconfig] section of config ([email protected])
- use _changelog_remove_cherrypick() for rheltagger ([email protected])
- Add code for extracting bugzilla IDs from CVS diff or git log.
- Prompt user to edit CVS commit messages. ([email protected])
- Fix no auto changelog option. ([email protected])
- add tagger for Red Hat Enterprise Linux ([email protected])
- Fix test builds in koji. ([email protected])
- Documentation update. ([email protected])
- Add missing dep on libxslt. ([email protected])
* Wed Jan 05 2011 Devan Goodwin <[email protected]> 0.3.0-1
- implement --only-tags option for builder class ([email protected])
- implement --list-tags option for builder ([email protected])
- add option --scratch to builder class ([email protected])
- do not throw traceback if you hit Ctrl+C during Auto-instaling
- allow child taggers to control commit message ([email protected])
- add new tagger: zStreamTagger - bump up release part after dist tag
- Better error-reporting when spec file has errors ([email protected])
- if we grep rpmbuild output for some string, we have to switch to C locale
- Adding more helpfull error message to show user what is busted
- Fix rpm command suggestion for broken specs. ([email protected])
- add manpage source: tito(8) ([email protected])
- add manpage source: titorc(5) ([email protected])
- adding rpm-build as a Requires. Seems pretty critical ([email protected])
- Add missing dep on python-setuptools. ([email protected])
* Wed Jun 02 2010 Devan Goodwin <[email protected]> 0.2.0-1
- Restrict building to a minimum version of tito. ([email protected])
- Added option to pass custom options to rpmbuild. ([email protected])
- Add tito-dev script to run directly from source. ([email protected])
- Better output after tagging. ([email protected])
- Display rpms build on successful completion. ([email protected])
- Added tito tag --undo. ([email protected])
- Bump versions in setup.py during tagging if possible. ([email protected])
- Added lib_dir setting for custom taggers/builders. ([email protected])
- Add option to auto-install rpms after build. ([email protected])
- Remove check for changelog with today's date. ([email protected])
- Allow user to specify an changelog string for new packages.
- Use latest commit instead of HEAD for --test. ([email protected])
- Allow tito to understand pkg names with macros. ([email protected])
- Use short sha1 when generating filenames. ([email protected])
- Commit packages dir during tito init. ([email protected])
- More detailed error message if spec has errors. ([email protected])
* Wed Jun 02 2010 Devan Goodwin <[email protected]>
- Restrict building to a minimal version of tito. ([email protected])
- Added option to pass custom options to rpmbuild. ([email protected])
- Add tito-dev script to run directly from source. ([email protected])
- Better output after tagging. ([email protected])
- Display rpms build on successful completion. ([email protected])
- Added tito tag --undo. ([email protected])
- Bump versions in setup.py during tagging if possible. ([email protected])
- Added lib_dir setting for custom builders/taggers. ([email protected])
- Add option to auto-install rpms after build. ([email protected])
- Remove check for changelog with today's date. ([email protected])
- Allow user to specify an changelog string for new packages.
- Use latest commit instead of HEAD for --test. ([email protected])
- Allow tito to understand pkg names with macros. ([email protected])
- Use short sha1 when generating filenames. ([email protected])
- Commit packages dir during tito init. ([email protected])
- More detailed error message if spec is bad. ([email protected])
* Thu Oct 01 2009 Devan Goodwin <[email protected]> 0.1.1-2
- Add AUTHORS and COPYING to doc.
- Add BuildRequires on python-setuptools.
* Tue Aug 25 2009 Devan Goodwin <[email protected]> 0.1.1-1
- Bumping to 0.1.0 for first release.
* Mon Aug 24 2009 Devan Goodwin <[email protected]> 0.0.4-1
- Hack to fix import of tagger/builder on Python 2.4. ([email protected])
* Thu Aug 06 2009 Devan Goodwin <[email protected]> 0.0.3-1
- Introduce --output option for destination/tmp directory. ([email protected])
- Use tito.props for project specific config filename. ([email protected])
- Add multi-project repo tagging tests. ([email protected])
- Add support for offline (standalone) git repos. ([email protected])
- Fix reports for single project git repos. ([email protected])
- Add README documentation. ([email protected])
* Wed Jul 22 2009 Devan Goodwin <[email protected]> 0.0.1-1
- Initial packaging.