|
|
c9dc44e |
Name: python-nitrate
|
|
|
9a5bc7f |
Version: 1.3
|
|
|
bc4abe3 |
Release: 3%{?dist}
|
|
|
c9dc44e |
|
|
|
c9dc44e |
Summary: Python API for the Nitrate test case management system
|
|
|
c9dc44e |
Group: Development/Languages
|
|
|
c9dc44e |
License: LGPLv2
|
|
|
c9dc44e |
|
|
|
cf17334 |
URL: http://psss.fedorapeople.org/python-nitrate/
|
|
|
c9dc44e |
Source0: http://psss.fedorapeople.org/python-nitrate/%{name}-%{version}.tar.bz2
|
|
|
c9dc44e |
|
|
|
c9dc44e |
BuildArch: noarch
|
|
|
c9dc44e |
BuildRequires: python-devel
|
|
|
c933774 |
Requires: python-kerberos python-psycopg2
|
|
|
c9dc44e |
|
|
|
c9dc44e |
%description
|
|
|
c9dc44e |
python-nitrate is a Python interface to the Nitrate test case
|
|
|
c9dc44e |
management system. The package consists of a high-level Python
|
|
|
c9dc44e |
module (provides natural object interface), a low-level driver
|
|
|
c9dc44e |
(allows to directly access Nitrate's XMLRPC API) and a command
|
|
|
c9dc44e |
line interpreter (useful for fast debugging and experimenting).
|
|
|
c9dc44e |
|
|
|
c9dc44e |
%prep
|
|
|
c9dc44e |
%setup -q
|
|
|
c9dc44e |
|
|
|
c9dc44e |
%build
|
|
|
c9dc44e |
|
|
|
c9dc44e |
%install
|
|
|
c9dc44e |
mkdir -p %{buildroot}%{_bindir}
|
|
|
c9dc44e |
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
c9dc44e |
mkdir -p %{buildroot}%{python_sitelib}/nitrate
|
|
|
c9dc44e |
install -pm 755 source/nitrate %{buildroot}%{_bindir}
|
|
|
c9dc44e |
install -pm 644 source/*.py %{buildroot}%{python_sitelib}/nitrate
|
|
|
c933774 |
install -pm 644 docs/*.1.gz %{buildroot}%{_mandir}/man1
|
|
|
c9dc44e |
|
|
|
c9dc44e |
%files
|
|
|
c9dc44e |
%{_mandir}/man1/*
|
|
|
c9dc44e |
%{_bindir}/nitrate
|
|
|
c9dc44e |
%{python_sitelib}/*
|
|
|
c9dc44e |
%doc COPYING README examples
|
|
|
c9dc44e |
|
|
|
c9dc44e |
%changelog
|
|
|
bc4abe3 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
|
|
|
bc4abe3 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
bc4abe3 |
|
|
Martin Frodl |
20bb747 |
* Tue May 10 2016 Martin Frodl <mfrodl@redhat.com> 1.3-2
|
|
Martin Frodl |
20bb747 |
- Removed obsolete project page links
|
|
Martin Frodl |
20bb747 |
|
|
|
9a5bc7f |
* Tue Feb 09 2016 Petr Šplíchal <psplicha@redhat.com> 1.3-1
|
|
|
9a5bc7f |
- Package nitrate for PyPI, several adjustments, docs update
|
|
|
9a5bc7f |
- Better handle non-existent objects [BZ#1204028]
|
|
|
9a5bc7f |
- Correctly handle no caseplan found [BZ#1171671]
|
|
|
9a5bc7f |
- Typo fix in the TestPlan's _attributes [BZ#1304295]
|
|
|
9a5bc7f |
- Make sure that PlanStatus id type is int
|
|
|
7be2cd7 |
|
|
|
9a5bc7f |
* Fri Aug 08 2014 Petr Šplíchal <psplicha@redhat.com> 1.2-0
|
|
|
9a5bc7f |
- Include example config in documentation [BZ#1098818]
|
|
|
9a5bc7f |
- Handle duplicate entry errors gracefully [BZ#1112521]
|
|
|
9a5bc7f |
- Added Aleš Zelinka to the list of contributors
|
|
|
c105a75 |
|
|
|
9a5bc7f |
* Sat May 17 2014 Petr Šplíchal <psplicha@redhat.com> 1.1-0
|
|
|
9a5bc7f |
- TestCase.{setup,action,effect,breakdown} attributes [BZ#1089039]
|
|
|
9a5bc7f |
- Map automated/manual when searching test cases [BZ#1092464]
|
|
|
9a5bc7f |
- Iterate over PlanRuns sorted by id/creation
|
|
|
9a5bc7f |
- Indexing support for containers
|
|
|
9a5bc7f |
- Separate methods for locking, handle corrupted cache
|
|
|
9a5bc7f |
- Limit cache writing window (chance of corruption) [BZ#1091404]
|
|
|
9a5bc7f |
- Ignore malformed and stale cache locks [BZ#1091404]
|
|
|
9a5bc7f |
- Workaround Teiid problem with converting time [BZ#1093054]
|
|
|
740b44e |
|
|
|
c933774 |
* Fri Apr 11 2014 Petr Šplíchal <psplicha@redhat.com> 1.0-0
|
|
|
c933774 |
- New stable version, see release notes for the list of changes
|
|
|
c933774 |
- http://psss.fedorapeople.org/python-nitrate/notes.html
|
|
|
572a539 |
|
|
|
c933774 |
* Wed Apr 09 2014 Petr Šplíchal <psplicha@redhat.com> 0.15-0
|
|
|
c933774 |
- Single LOG_DATA level for data-related logs, docs cleanup
|
|
|
c933774 |
- Initialize all plan-case tags in CACHE_OBJECTS level
|
|
|
c933774 |
- Do not use log.error during object creation/init
|
|
|
c933774 |
- Raise exception when invalid Build name given
|
|
|
c933774 |
- Added link to the Copr repository
|
|
|
c933774 |
- Use object name for identifier if id is unknown
|
|
|
c933774 |
- Containers with uncached items should expire as well
|
|
|
c933774 |
- No all-items fetching for modified containers [BZ#1084563]
|
|
|
c933774 |
|
|
|
c933774 |
* Fri Apr 04 2014 Petr Šplíchal <psplicha@redhat.com> 0.14-0
|
|
|
c933774 |
- Allow wiping cache of subclasses of given class
|
|
|
c933774 |
- Update TestRun's CaseRuns in MultiCall batches
|
|
|
c933774 |
- Import all containers into the main nitrate module
|
|
|
c933774 |
- Remove version from test-bed-prepare Product init
|
|
|
c933774 |
- Display warn message about locked persistent cache
|
|
|
c933774 |
- Document batch updates using Cache().update()
|
|
|
c933774 |
- Summary of new features added to release notes
|
|
|
c933774 |
- Add reference to release notes and individual module docs
|
|
|
c933774 |
- Custom formatter should return unicode messages
|
|
|
c933774 |
- Updated the create.py simple example code
|
|
|
c933774 |
- Test suite documentation update
|
|
|
c933774 |
- Use tag name for hashing to allow creating new tags
|
|
|
c933774 |
- Initial version of the release notes
|
|
|
c933774 |
|
|
|
c933774 |
* Thu Apr 03 2014 Petr Šplíchal <psplicha@redhat.com> 0.13-0
|
|
|
c933774 |
- Give a summary of expired items for easier debugging
|
|
|
c933774 |
- Wake up only containers with already cached items
|
|
|
c933774 |
- New log.all() method for super-detailed logging
|
|
|
c933774 |
- Use singletons for Coloring and Caching configuration
|
|
|
c933774 |
- Use a single Cache instance for persistent cache handling
|
|
|
c933774 |
- Include minimal config example in the synopsis
|
|
|
c933774 |
- Use custom concise test results for python 2.7+ only
|
|
|
c933774 |
- New log level for Teiid, global constants for all levels
|
|
|
c933774 |
- Explicitly mention cache levels for environment variable
|
|
|
c933774 |
- Use Config class directly rather than through Nitrate
|
|
|
c933774 |
- Teiid requires python-psycopg2 for db connection
|
|
|
c933774 |
- Refactored the huge api module into several modules
|
|
|
c933774 |
- Explicitly mention the update() method in examples
|
|
|
c933774 |
- Ignore enter() and exit() when persistent caching off
|
|
|
c933774 |
|
|
|
c933774 |
* Wed Mar 26 2014 Petr Šplíchal <psplicha@redhat.com> 0.12-0
|
|
|
c933774 |
- Disable PlanComponents test until BZ#866974 is fixed.
|
|
|
c933774 |
- Support for fetching data from a Teiid instance
|
|
|
c933774 |
- Simple locking for persistent cache implemented
|
|
|
c933774 |
- Support for string tags (backward-compatible)
|
|
|
c933774 |
- Use multicall for unlinking testcases from testplans
|
|
|
c933774 |
- Containers should iterate over sorted test cases
|
|
|
c933774 |
- Support for test case sortkey in test plans [BZ#869594]
|
|
|
c933774 |
- Improved logging for Container add/remove methods
|
|
|
c933774 |
- Internal utility function for idifying
|
|
|
c933774 |
- Cache.update() support for multicall slicing
|
|
|
c933774 |
- Status can be specified upon test case creation
|
|
|
c933774 |
- New utility function sliced() for cutting loafs
|
|
|
c933774 |
- Store the initial object dict for future use
|
|
|
c933774 |
- Setting arguments/requirement upon test case creation [BZ#1032259]
|
|
|
c933774 |
- Product property removed from the TestCase class [BZ#1076058]
|
|
|
c933774 |
- Special handling for comparison with None
|
|
|
c933774 |
- TestRun.caseruns and TestRun.testcases containers
|
|
|
c933774 |
- Cache setup only when needed, improved cleanup logging
|
|
|
c933774 |
- Make sure we always compare objects of the same type
|
|
|
c933774 |
- Improved container initialization when inject given
|
|
|
c933774 |
- TestPlan.testruns reimplemented using PlanRuns container
|
|
|
c933774 |
- More debugging output when expiring objects from cache
|
|
|
c933774 |
- Containers should always be read-only properties
|
|
|
c933774 |
- PlanComponents container implemented
|
|
|
c933774 |
|
|
|
c933774 |
* Fri Mar 7 2014 Petr Šplíchal <psplicha@redhat.com> 0.11-0
|
|
|
c933774 |
- One year is good enough for never-expire limit
|
|
|
c933774 |
- Bugs reimplemented with containers and caching
|
|
|
c933774 |
- Wake up containers as sets of objects, not lists
|
|
|
c933774 |
- Use empty cache for objects not found in the cache file
|
|
|
c933774 |
- Identifier should show UNKNOWN when id not defined
|
|
|
c933774 |
- Set the default command line editing mode to vi
|
|
|
c933774 |
- Do not use root logger for nitrate logging [BZ#1060206]
|
|
|
c933774 |
- Use NitrateError class for raising exceptions instead of plain str
|
|
|
c933774 |
- Fix regression after version removal from product
|
|
|
c933774 |
- Container implementation status documented
|
|
|
c933774 |
- TestRun.started and TestRun.finished [BZ#957741]
|
|
|
c933774 |
- Better document the update() method [BZ#1004434]
|
|
|
c933774 |
- New attribute TestPlan.owner [BZ#954913]
|
|
|
c933774 |
- Move the default version from Product into TestPlan
|
|
|
c933774 |
- Version fetch cleanup & test improvements
|
|
|
c933774 |
- Use custom result format for unit tests
|
|
|
c933774 |
- Added TestCase.created attribute (creation date) [BZ#1008489]
|
|
|
c933774 |
|
|
|
c933774 |
* Wed Sep 25 2013 Petr Šplíchal <psplicha@redhat.com> 0.10-0
|
|
|
c933774 |
- Add Filip Holec to the list of contributors
|
|
|
c933774 |
- Convert timedelta into a human readable format
|
|
|
c933774 |
- The Big Cleanup of Ininitialization and Caching
|
|
|
c933774 |
- New custom log levels for cache and xmlrpc
|
|
|
c933774 |
- Component should be among exported classes
|
|
|
c933774 |
- Added support for plain authentication
|
|
|
c933774 |
- Initialize color mode before caching
|
|
|
c933774 |
- Colored logging [BZ#965665]
|
|
|
c933774 |
- Handle attribute init and fetch timestamp reset at one place
|
|
|
c933774 |
- Test summary should report errors as well
|
|
|
c933774 |
- No need to load cache when testing
|
|
|
c933774 |
- Allow to clear cache for selected classes only
|
|
|
c933774 |
- Give an overall test summary at the end of testing
|
|
|
c933774 |
- Support cache expiration configuration for parent classes
|
|
|
c933774 |
- Improved auto-plural in listed() for words ending with 's'
|
|
|
c933774 |
- New utility function header() for printing simple headers
|
|
|
c933774 |
- Object fetching cleanup and improved _is_cached()
|
|
|
c933774 |
- Move server communication debugging to lower level
|
|
|
c933774 |
- New method Cache.update() for group updates
|
|
|
c933774 |
- Use temporary cache file for running the test suite
|
|
|
c933774 |
- Correctly handle modified objects with caching
|
|
|
c933774 |
- Fix problem with restoring containers from the cache
|
|
|
c933774 |
- Document logging with custom level, some cleanup
|
|
|
c933774 |
- Common identifier width handling
|
|
|
c933774 |
- Move constants to the top, expiration adjustments
|
|
|
c933774 |
- Persistent caching for all Container classes
|
|
|
c933774 |
- Container initialization
|
|
|
c933774 |
- Persistent cache implementation
|
|
|
c933774 |
- Common caching support in the Nitrate class
|
|
|
c933774 |
- Skip performance tests when in regular mode
|
|
|
c933774 |
- MultiCall support
|
|
|
c933774 |
- Tag class implementation
|
|
|
c933774 |
- Performance test cases
|
|
|
c933774 |
- Test bed prepare script
|
|
|
c933774 |
- Make the newline in info() optional
|
|
|
c933774 |
- Added support for performance tests (--performance)
|
|
|
c933774 |
- Allow short PlanType initialization by string
|
|
|
c933774 |
- Allow to set the reference link upon test case creation [BZ#843382]
|
|
|
8992b36 |
|
|
|
eb9a7de |
* Mon Dec 10 2012 Petr Šplíchal <psplicha@redhat.com> 0.9-0
|
|
|
eb9a7de |
- New function unlisted() for conversion from human readable list
|
|
|
eb9a7de |
- Clean up the cache before testing caching
|
|
|
eb9a7de |
- Fix test plan initialization by type name
|
|
|
eb9a7de |
- Rename test case components container to CaseComponents
|
|
|
eb9a7de |
- Implemented TestPlan.children property [BZ#863226]
|
|
|
eb9a7de |
- Allow to select cases when creating a new run [BZ#863480]
|
|
|
eb9a7de |
- Invalid category should raise Nitrate exception [BZ#862523]
|
|
|
eb9a7de |
- Implement PlanType using XMLRPC instead of hard coded values [BZ#841299]
|
|
|
eb9a7de |
- Cleanup of log, cache and color funtions
|
|
|
eb9a7de |
- Use unicode for logging where necessary [BZ#865033]
|
|
|
eb9a7de |
- Use unicode for logging in _setter() [BZ#865033]
|
|
|
eb9a7de |
- Sane unicode representation for user with no name [BZ#821629]
|
|
|
eb9a7de |
- Support for system-wide config in /etc/nitrate.conf [BZ#844363]
|
|
|
eb9a7de |
- Remove *.pyc files as well when cleaning
|
|
|
eb9a7de |
- Move global variables out of the functions
|
|
|
eb9a7de |
- Move utils tests into a separate class
|
|
|
eb9a7de |
- Document how to get a short Nitrate summary [BZ#883798]
|
|
|
eb9a7de |
- Push files to the production web only when in the master branch
|
|
|
eb9a7de |
- New TestCase reference link field [BZ#843382]
|
|
|
eb9a7de |
- Forgotten 'notes' in the list of test case attributes
|
|
|
eb9a7de |
- Don't forget to include errata id when creating a new test run
|
|
|
eb9a7de |
- Fix test run errata update, improve the self test
|
|
|
eb9a7de |
- Added errata field in class TestRun
|
|
|
eb9a7de |
- Suggest https in the minimal config example
|
|
|
eb9a7de |
- Test case automation flags cleanup
|
|
|
eb9a7de |
- Empty script or arguments to be handled same as None
|
|
|
eb9a7de |
- Smarter implementation of the listed() function
|
|
|
eb9a7de |
|
|
|
cf17334 |
* Wed Feb 29 2012 Petr Šplíchal <psplicha@redhat.com> - 0.8-0
|
|
|
cf17334 |
- New method clear() for cleaning containers
|
|
|
cf17334 |
- Component and Components class implementation
|
|
|
cf17334 |
- Improved object initialization and id check
|
|
|
cf17334 |
|
|
|
cf17334 |
* Wed Feb 22 2012 Petr Šplíchal <psplicha@redhat.com> - 0.7-2
|
|
|
c9dc44e |
- Fix url, directory ownership and preserve timestamps.
|
|
|
c9dc44e |
|
|
|
cf17334 |
* Wed Feb 22 2012 Petr Šplíchal <psplicha@redhat.com> 0.7-1
|
|
|
c9dc44e |
- Initial packaging.
|