Compare commits

...

10 Commits

Author SHA256 Message Date
a6ccfd40ff Accepting request 1244866 from devel:languages:perl:autoupdate
- updated to 2.50.0 (2.05)
   see /usr/share/doc/packages/perl-Workflow/Changes.md

OBS-URL: https://build.opensuse.org/request/show/1244866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=23
2025-02-11 07:08:48 +00:00
bd303c9e01 Accepting request 1240653 from devel:languages:perl:autoupdate
- updated to 2.30.0 (2.03)
   see /usr/share/doc/packages/perl-Workflow/Changes.md
  ## TO BE RELEASED
  ## 2.03 2025-01-24 BUg fix release, update recommended
  ### Fixed
  - Instances of Workflow::Condition::IsFalse interpreted as `true` return values
    under `$Workflow::Condition::STRICT_BOOLEANS = 0`

OBS-URL: https://build.opensuse.org/request/show/1240653
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=22
2025-01-30 22:24:09 +00:00
bd5fbef213 Accepting request 1237601 from devel:languages:perl:autoupdate
- updated to 2.20.0 (2.02)
   see /usr/share/doc/packages/perl-Workflow/Changes.md

OBS-URL: https://build.opensuse.org/request/show/1237601
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=21
2025-01-17 00:04:38 +00:00
a2d1288ea2 Accepting request 1182921 from devel:languages:perl:autoupdate
- updated to 1.620.0 (1.62)
   see /usr/share/doc/packages/perl-Workflow/Changes.md
  ## 1.62 2023-02-11 bug fix/maintenance release, update recommended
  - Minor correction to documentation via PR [#208](https://github.com/jonasbn/perl-workflow/pull/208) from @ehuelsmann
  - Improvement to the overall codebase by localizing `$EVAL_ERROR` in conjunction with `eval` structures, via PR [#211](https://github.com/jonasbn/perl-workflow/pull/211) from @ehuelsmann
  ## 1.61 2022-10-01 bug fix release, update recommended
  - We have removed some code, which was no longer used, which was causing some grievance see PR [#203](https://github.com/jonasbn/perl-workflow/pull/203) from by Oliver Welter (@oliwell)
  ## 1.60 2022-03-02 bug fix release, update recommended
  - We have discovered a minor regression, founded in our eager to implement more clean code. This has been addressed via PR [#195](https://github.com/jonasbn/perl-workflow/pull/195) by Erik Huelsmann (@ehuelsmann).
    It was followed up by PR [#196](https://github.com/jonasbn/perl-workflow/pull/196/files) by Oliver Welter (@oliwell).
    We are now setting the bar a bit lower for the 1.x releases in regard to best practices and code quality and focus on improving the code for 2.x, so we do not experience any more regressions.
  ## 1.59 2022-02-02 bug fix release, update required
  - Unfortunately we discovered a minor mishap, where a dependency was referenced without being properly declared as a dependency, which could result in inability for the distribution to work in a clean environment. This has now been addressed via PR [#190](https://github.com/jonasbn/perl-workflow/pull/190)
  We are sorry about any inconvenience this might have caused
  ## 1.58 2022-02-02 Maintenance release, update not required
  - Addressed violations of [Perl::Critic](https://metacpan.org/pod/Perl::Critic) policies:
    - [Subroutines::ProhibitExplicitReturnUndef](https://metacpan.org/pod/Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef)
    - [ValuesAndExpressions::ProhibitMixedBooleanOperators](https://metacpan.org/pod/Perl::Critic::Policy::ValuesAndExpressions::ProhibitMixedBooleanOperators)
    Adjustments to Perl::Critic resourcefile (`t/perlcriticrc`), this somewhat addresses issue [#43](https://github.com/jonasbn/perl-workflow/issues/43), there is more work to be done in this area, this will be adressed eventually
    By Jonas Brømsø (@jonasbn)
  - Requirement for Perl 5.14 has been made more explicit, see also PR [#185](https://github.com/jonasbn/perl-workflow/pull/185) by Erik Huelsmann (@ehuelsmann)
  - Delay of instantation, prevents additional loggings attempts, this makes logging less noisy when running tests. Via PR [#174](https://github.com/jonasbn/perl-workflow/pull/174) from Erik Huelsmann (@ehuelsmann)
  ## 1.57 2021-10-17 Bug fix release, update recommended
  - PR [#170](https://github.com/jonasbn/perl-workflow/pull/170) addresses an issue where Workflow tries to log during the execution of `use` statements, at which time it's highly unlikely that the logger has already been initialized, resulting in warnings being printed on the console
  - PR [#171](https://github.com/jonasbn/perl-workflow/pull/171) adds initialization of context parameters passed at instantiation; currently, parameters need to be added explicily and individually after instantiation
  - PR [#173](https://github.com/jonasbn/perl-workflow/pull/173) addresses issue [#172](https://github.com/jonasbn/perl-workflow/pull/172), fixing failure to autorun actions from the INITIAL state

OBS-URL: https://build.opensuse.org/request/show/1182921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=20
2024-06-27 17:13:40 +00:00
4baeda91c4 Accepting request 914425 from devel:languages:perl:autoupdate
- updated to 1.56
   see /usr/share/doc/packages/perl-Workflow/Changes.md
  ## DEPRECATION NOTICE
  - With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underline this fact.
  SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow.
  ## 1.56 2021-07-28 Bug fix release, update recommended
  - PR [#139](https://github.com/jonasbn/perl-workflow/pull/139) addresses an issue introduced in 1.55, where action configurations would contain unnecessary information
  - Elimination of global state, with improved abstraction the complexity could be removed via PR [#140](https://github.com/jonasbn/perl-workflow/pull/140)
  - PR [#141](https://github.com/jonasbn/perl-workflow/pull/141) improves test suite, following up on PR [#131](https://github.com/jonasbn/perl-workflow/pull/131)
  - PR [#132](https://github.com/jonasbn/perl-workflow/pull/132) follows up on issue [#129](https://github.com/jonasbn/perl-workflow/issues/129) by improving documentation on group property of Workflow::Action
  - Elimination of warning about undefined value, which surfaced with release 1.55, adressed with PR [#135](https://github.com/jonasbn/perl-workflow/pull/135)
  - PR [#131](https://github.com/jonasbn/perl-workflow/pull/131) documents the importance of overriding `init` for processing of parameters and not using `new`
  - PR [#130](https://github.com/jonasbn/perl-workflow/pull/130) addresses issue [#129](https://github.com/jonasbn/perl-workflow/issues/129), respects encapsulation by adhering to the API
  - Improves some error and log messages via PR [#128](https://github.com/jonasbn/perl-workflow/pull/128)
  ## 1.55 2021-07-09 Minor feature release, update not required
  - PR [#119](https://github.com/jonasbn/perl-workflow/pull/119) adds capability of configuring custom workflow classes addressing issue [#107](https://github.com/jonasbn/perl-workflow/issues/107)
  - Simplified logging handing in code base via PR [#108](https://github.com/jonasbn/perl-workflow/pull/108) investigation into possible performance issue described in [#89](https://github.com/jonasbn/perl-workflow/issues/89) determined penalty to be insignificant
  - `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements, what is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix
  - Issue with broken support action attribute specified in the state config has been addressed via PR [#123](https://github.com/jonasbn/perl-workflow/pull/123) described in issue [#113](https://github.com/jonasbn/perl-workflow/issues/113)
  - A warning emitted from the test suite has been addressed via PR [#115](https://github.com/jonasbn/perl-workflow/pull/115)
  - A timing issue observed with the Travis CI setup have been addressed in PR [#112](https://github.com/jonasbn/perl-workflow/pull/112)

OBS-URL: https://build.opensuse.org/request/show/914425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=19
2021-08-31 09:30:06 +00:00
a7572cbd01 Accepting request 888629 from devel:languages:perl:autoupdate
- updated to 1.54
   see /usr/share/doc/packages/perl-Workflow/Changes.md
  ## 1.54 2021-04-25 Minor feature release, update not required
  - The existing private API: `Workflow->_get_action()` has been made public as: `get_action()` via PR [#56](https://github.com/jonasbn/perl-workflow/pull/56) addressing issue [#54](https://github.com/jonasbn/perl-workflow/issues/54), a private version is still available as `_get_action()` ensuring backwards compatibility. The change should improve and ease implementations where actions are consumed
  - The existing methods: `fields()`, `optional_fields()` and `required_fields` have all been made public PR [#57](https://github.com/jonasbn/perl-workflow/pull/57) addressing issue [#55](https://github.com/jonasbn/perl-workflow/issues/55) these methods provide information a UI or other consumer of the workflow could use for user interaction as for issue [#54](https://github.com/jonasbn/perl-workflow/issues/54) and PR: [#56](https://github.com/jonasbn/perl-workflow/pull/56) mentioned above
  - The implementation of caching for evaluation of nested has been revisted and improved via PR [#90](https://github.com/jonasbn/perl-workflow/pull/90)
  - A minor issue has been corrected in the documentation was corrected via PR [#111](https://github.com/jonasbn/perl-workflow/pull/111), it seems some design ideas had snuck into the documentation a long time ago, without ever being implemented

OBS-URL: https://build.opensuse.org/request/show/888629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=18
2021-04-29 15:07:09 +00:00
535ab664e2 Accepting request 884202 from devel:languages:perl:autoupdate
- updated to 1.53
   see /usr/share/doc/packages/perl-Workflow/Changes.md
  ## 1.53 2021-04-09 Minor feature release, update not required
  - This release changes logging granularity: instead of using the Log::Log4perl root logger for all logging output, use the instance class for logging in object methods as recommended [in the Log4perl documentation](https://metacpan.org/pod/Log::Log4perl#Pitfalls-with-Categories). This change allows logging from workflow to be suppressed in your application by changing the logging level for the `Workflow` category by setting `log4perl.category.Workflow = OFF` in your logging configuration. Please note that if you created classes derived from Workflow, the logger will use those class names as categories. To suppress output entirely, those categories need their own logging configuration.
    **NOTE** This change adds a `log()` accessor to the "Workflow::Base" class. If you implement your own `log()` accessor or method, please take care to make it return a valid logger instance before calling `SUPER::new()` so the logger is immediately available for logging.
  - PR [#101](https://github.com/jonasbn/perl-workflow/pull/101) changing confusing logging statements regarding observers having been added when none specified
  - Added test cases covering Workflow::Exception [#102](https://github.com/jonasbn/perl-workflow/pull/102)

OBS-URL: https://build.opensuse.org/request/show/884202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=17
2021-04-13 14:49:28 +00:00
578e0bae7b Accepting request 871396 from devel:languages:perl:autoupdate
- updated to 1.52
   see /usr/share/doc/packages/perl-Workflow/Changes.md
  ## 1.52 2021-02-11 Bug fix release, update recommended
  - Addressed bug/issue [#95](https://github.com/jonasbn/perl-workflow/issues/95) via PR [#96](https://github.com/jonasbn/perl-workflow/pull/96), the issue was introduced with PR [#85](https://github.com/jonasbn/perl-workflow/pull/85) in release 1.51
  - Improvements to Dist::Zilla config, only ExtUtils::MakeMaker supported via Dist::Zilla now. Module::Build support having been removed. See the [article by Neil Bowers](https://neilb.org/2015/05/18/two-build-files-considered-harmful.html) (NEILB) on the topic. Thanks to Karen Etheridge (ETHER) for information and link to the above-mentioned article (issue [#93](https://github.com/jonasbn/perl-workflow/issues/95), resolved via PR [#98](https://github.com/jonasbn/perl-workflow/pull/98))
  - Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99))
  - Some URLs fixed via PR [#97](https://github.com/jonasbn/perl-workflow/pull/97), thanks to Michiel W. Beijen for the contribution
  - More unit-tests added via PR [#94](https://github.com/jonasbn/perl-workflow/pull/94), continued work on issue [#36](https://github.com/jonasbn/perl-workflow/pull/94) improving test coverage

OBS-URL: https://build.opensuse.org/request/show/871396
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=16
2021-02-15 12:37:43 +00:00
ca3c87f85b Accepting request 868560 from devel:languages:perl:autoupdate
- updated to 1.51
   see /usr/share/doc/packages/perl-Workflow/Changes.md

OBS-URL: https://build.opensuse.org/request/show/868560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=15
2021-02-03 10:42:27 +00:00
c28ddf2561 Accepting request 866774 from devel:languages:perl:autoupdate
- updated to 1.50
   see /usr/share/doc/packages/perl-Workflow/Changes

OBS-URL: https://build.opensuse.org/request/show/866774
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=14
2021-01-27 16:15:15 +00:00
4 changed files with 199 additions and 28 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4bee55bc441083869e566445bdb6327e6000457c7ca42bbb345101fa963f8d6
size 153458

3
Workflow-2.05.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:481c92015720bbffde8a99c31b421a3d0dbabc717e3e9d5dd21d7c26fd2eac0e
size 168715

View File

@@ -1,3 +1,133 @@
-------------------------------------------------------------------
Sun Feb 2 05:30:23 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 2.50.0 (2.05)
see /usr/share/doc/packages/perl-Workflow/Changes.md
-------------------------------------------------------------------
Sat Jan 25 05:30:15 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 2.30.0 (2.03)
see /usr/share/doc/packages/perl-Workflow/Changes.md
## TO BE RELEASED
## 2.03 2025-01-24 BUg fix release, update recommended
### Fixed
- Instances of Workflow::Condition::IsFalse interpreted as `true` return values
under `$Workflow::Condition::STRICT_BOOLEANS = 0`
-------------------------------------------------------------------
Sun Jan 12 05:32:40 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 2.20.0 (2.02)
see /usr/share/doc/packages/perl-Workflow/Changes.md
-------------------------------------------------------------------
Sun Jun 23 16:50:45 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- updated to 1.620.0 (1.62)
see /usr/share/doc/packages/perl-Workflow/Changes.md
## 1.62 2023-02-11 bug fix/maintenance release, update recommended
- Minor correction to documentation via PR [#208](https://github.com/jonasbn/perl-workflow/pull/208) from @ehuelsmann
- Improvement to the overall codebase by localizing `$EVAL_ERROR` in conjunction with `eval` structures, via PR [#211](https://github.com/jonasbn/perl-workflow/pull/211) from @ehuelsmann
## 1.61 2022-10-01 bug fix release, update recommended
- We have removed some code, which was no longer used, which was causing some grievance see PR [#203](https://github.com/jonasbn/perl-workflow/pull/203) from by Oliver Welter (@oliwell)
## 1.60 2022-03-02 bug fix release, update recommended
- We have discovered a minor regression, founded in our eager to implement more clean code. This has been addressed via PR [#195](https://github.com/jonasbn/perl-workflow/pull/195) by Erik Huelsmann (@ehuelsmann).
It was followed up by PR [#196](https://github.com/jonasbn/perl-workflow/pull/196/files) by Oliver Welter (@oliwell).
We are now setting the bar a bit lower for the 1.x releases in regard to best practices and code quality and focus on improving the code for 2.x, so we do not experience any more regressions.
## 1.59 2022-02-02 bug fix release, update required
- Unfortunately we discovered a minor mishap, where a dependency was referenced without being properly declared as a dependency, which could result in inability for the distribution to work in a clean environment. This has now been addressed via PR [#190](https://github.com/jonasbn/perl-workflow/pull/190)
We are sorry about any inconvenience this might have caused
## 1.58 2022-02-02 Maintenance release, update not required
- Addressed violations of [Perl::Critic](https://metacpan.org/pod/Perl::Critic) policies:
- [Subroutines::ProhibitExplicitReturnUndef](https://metacpan.org/pod/Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef)
- [ValuesAndExpressions::ProhibitMixedBooleanOperators](https://metacpan.org/pod/Perl::Critic::Policy::ValuesAndExpressions::ProhibitMixedBooleanOperators)
Adjustments to Perl::Critic resourcefile (`t/perlcriticrc`), this somewhat addresses issue [#43](https://github.com/jonasbn/perl-workflow/issues/43), there is more work to be done in this area, this will be adressed eventually
By Jonas Brømsø (@jonasbn)
- Requirement for Perl 5.14 has been made more explicit, see also PR [#185](https://github.com/jonasbn/perl-workflow/pull/185) by Erik Huelsmann (@ehuelsmann)
- Delay of instantation, prevents additional loggings attempts, this makes logging less noisy when running tests. Via PR [#174](https://github.com/jonasbn/perl-workflow/pull/174) from Erik Huelsmann (@ehuelsmann)
## 1.57 2021-10-17 Bug fix release, update recommended
- PR [#170](https://github.com/jonasbn/perl-workflow/pull/170) addresses an issue where Workflow tries to log during the execution of `use` statements, at which time it's highly unlikely that the logger has already been initialized, resulting in warnings being printed on the console
- PR [#171](https://github.com/jonasbn/perl-workflow/pull/171) adds initialization of context parameters passed at instantiation; currently, parameters need to be added explicily and individually after instantiation
- PR [#173](https://github.com/jonasbn/perl-workflow/pull/173) addresses issue [#172](https://github.com/jonasbn/perl-workflow/pull/172), fixing failure to autorun actions from the INITIAL state
-------------------------------------------------------------------
Thu Jul 29 03:07:17 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.56
see /usr/share/doc/packages/perl-Workflow/Changes.md
## DEPRECATION NOTICE
- With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underline this fact.
SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow.
## 1.56 2021-07-28 Bug fix release, update recommended
- PR [#139](https://github.com/jonasbn/perl-workflow/pull/139) addresses an issue introduced in 1.55, where action configurations would contain unnecessary information
- Elimination of global state, with improved abstraction the complexity could be removed via PR [#140](https://github.com/jonasbn/perl-workflow/pull/140)
- PR [#141](https://github.com/jonasbn/perl-workflow/pull/141) improves test suite, following up on PR [#131](https://github.com/jonasbn/perl-workflow/pull/131)
- PR [#132](https://github.com/jonasbn/perl-workflow/pull/132) follows up on issue [#129](https://github.com/jonasbn/perl-workflow/issues/129) by improving documentation on group property of Workflow::Action
- Elimination of warning about undefined value, which surfaced with release 1.55, adressed with PR [#135](https://github.com/jonasbn/perl-workflow/pull/135)
- PR [#131](https://github.com/jonasbn/perl-workflow/pull/131) documents the importance of overriding `init` for processing of parameters and not using `new`
- PR [#130](https://github.com/jonasbn/perl-workflow/pull/130) addresses issue [#129](https://github.com/jonasbn/perl-workflow/issues/129), respects encapsulation by adhering to the API
- Improves some error and log messages via PR [#128](https://github.com/jonasbn/perl-workflow/pull/128)
## 1.55 2021-07-09 Minor feature release, update not required
- PR [#119](https://github.com/jonasbn/perl-workflow/pull/119) adds capability of configuring custom workflow classes addressing issue [#107](https://github.com/jonasbn/perl-workflow/issues/107)
- Simplified logging handing in code base via PR [#108](https://github.com/jonasbn/perl-workflow/pull/108) investigation into possible performance issue described in [#89](https://github.com/jonasbn/perl-workflow/issues/89) determined penalty to be insignificant
- `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements, what is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix
- Issue with broken support action attribute specified in the state config has been addressed via PR [#123](https://github.com/jonasbn/perl-workflow/pull/123) described in issue [#113](https://github.com/jonasbn/perl-workflow/issues/113)
- A warning emitted from the test suite has been addressed via PR [#115](https://github.com/jonasbn/perl-workflow/pull/115)
- A timing issue observed with the Travis CI setup have been addressed in PR [#112](https://github.com/jonasbn/perl-workflow/pull/112)
-------------------------------------------------------------------
Mon Apr 26 03:06:38 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.54
see /usr/share/doc/packages/perl-Workflow/Changes.md
## 1.54 2021-04-25 Minor feature release, update not required
- The existing private API: `Workflow->_get_action()` has been made public as: `get_action()` via PR [#56](https://github.com/jonasbn/perl-workflow/pull/56) addressing issue [#54](https://github.com/jonasbn/perl-workflow/issues/54), a private version is still available as `_get_action()` ensuring backwards compatibility. The change should improve and ease implementations where actions are consumed
- The existing methods: `fields()`, `optional_fields()` and `required_fields` have all been made public PR [#57](https://github.com/jonasbn/perl-workflow/pull/57) addressing issue [#55](https://github.com/jonasbn/perl-workflow/issues/55) these methods provide information a UI or other consumer of the workflow could use for user interaction as for issue [#54](https://github.com/jonasbn/perl-workflow/issues/54) and PR: [#56](https://github.com/jonasbn/perl-workflow/pull/56) mentioned above
- The implementation of caching for evaluation of nested has been revisted and improved via PR [#90](https://github.com/jonasbn/perl-workflow/pull/90)
- A minor issue has been corrected in the documentation was corrected via PR [#111](https://github.com/jonasbn/perl-workflow/pull/111), it seems some design ideas had snuck into the documentation a long time ago, without ever being implemented
-------------------------------------------------------------------
Sat Apr 10 03:08:41 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.53
see /usr/share/doc/packages/perl-Workflow/Changes.md
## 1.53 2021-04-09 Minor feature release, update not required
- This release changes logging granularity: instead of using the Log::Log4perl root logger for all logging output, use the instance class for logging in object methods as recommended [in the Log4perl documentation](https://metacpan.org/pod/Log::Log4perl#Pitfalls-with-Categories). This change allows logging from workflow to be suppressed in your application by changing the logging level for the `Workflow` category by setting `log4perl.category.Workflow = OFF` in your logging configuration. Please note that if you created classes derived from Workflow, the logger will use those class names as categories. To suppress output entirely, those categories need their own logging configuration.
**NOTE** This change adds a `log()` accessor to the "Workflow::Base" class. If you implement your own `log()` accessor or method, please take care to make it return a valid logger instance before calling `SUPER::new()` so the logger is immediately available for logging.
- PR [#101](https://github.com/jonasbn/perl-workflow/pull/101) changing confusing logging statements regarding observers having been added when none specified
- Added test cases covering Workflow::Exception [#102](https://github.com/jonasbn/perl-workflow/pull/102)
-------------------------------------------------------------------
Fri Feb 12 03:07:56 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.52
see /usr/share/doc/packages/perl-Workflow/Changes.md
## 1.52 2021-02-11 Bug fix release, update recommended
- Addressed bug/issue [#95](https://github.com/jonasbn/perl-workflow/issues/95) via PR [#96](https://github.com/jonasbn/perl-workflow/pull/96), the issue was introduced with PR [#85](https://github.com/jonasbn/perl-workflow/pull/85) in release 1.51
- Improvements to Dist::Zilla config, only ExtUtils::MakeMaker supported via Dist::Zilla now. Module::Build support having been removed. See the [article by Neil Bowers](https://neilb.org/2015/05/18/two-build-files-considered-harmful.html) (NEILB) on the topic. Thanks to Karen Etheridge (ETHER) for information and link to the above-mentioned article (issue [#93](https://github.com/jonasbn/perl-workflow/issues/95), resolved via PR [#98](https://github.com/jonasbn/perl-workflow/pull/98))
- Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99))
- Some URLs fixed via PR [#97](https://github.com/jonasbn/perl-workflow/pull/97), thanks to Michiel W. Beijen for the contribution
- More unit-tests added via PR [#94](https://github.com/jonasbn/perl-workflow/pull/94), continued work on issue [#36](https://github.com/jonasbn/perl-workflow/pull/94) improving test coverage
-------------------------------------------------------------------
Mon Feb 1 03:09:46 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.51
see /usr/share/doc/packages/perl-Workflow/Changes.md
-------------------------------------------------------------------
Tue Jan 26 03:09:02 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.50
see /usr/share/doc/packages/perl-Workflow/Changes
-------------------------------------------------------------------
Wed Jan 13 03:09:40 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Workflow
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,21 @@
%define cpan_name Workflow
Name: perl-Workflow
Version: 1.49
Version: 2.50.0
Release: 0
Summary: Simple, flexible system to implement workflows
# 2.05 -> normalize -> 2.50.0
%define cpan_version 2.05
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Simple, flexible system to implement workflows
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASBN/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASBN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor) >= 0.18
BuildRequires: perl(Class::Factory) >= 1.00
BuildRequires: perl(Class::Observable) >= 1.04
BuildRequires: perl(DBD::Mock) >= 0.10
BuildRequires: perl(Class::Factory) >= 1.0.0
BuildRequires: perl(DBD::Mock) >= 1.590
BuildRequires: perl(DBI)
BuildRequires: perl(Data::UUID)
BuildRequires: perl(DateTime) >= 0.15
@@ -39,50 +40,90 @@ BuildRequires: perl(DateTime::Format::Strptime) >= 1.00
BuildRequires: perl(Exception::Class) >= 1.10
BuildRequires: perl(File::Slurp)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Log::Dispatch) >= 2.00
BuildRequires: perl(Log::Log4perl) >= 0.34
BuildRequires: perl(Module::Build) >= 0.300000
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Log::Any) >= 1.050
BuildRequires: perl(Mock::MonkeyPatch)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Readonly)
BuildRequires: perl(Syntax::Keyword::Try) >= 0.25
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Kwalitee) >= 1.21
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Test::Without::Module) >= 0.20
BuildRequires: perl(XML::Simple) >= 2.00
BuildRequires: perl(YAML) >= 1.30
BuildRequires: perl(parent)
Requires: perl(Class::Accessor) >= 0.18
Requires: perl(Class::Factory) >= 1.00
Requires: perl(Class::Observable) >= 1.04
Requires: perl(Class::Factory) >= 1.0.0
Requires: perl(DBI)
Requires: perl(Data::UUID)
Requires: perl(DateTime) >= 0.15
Requires: perl(DateTime::Format::Strptime) >= 1.00
Requires: perl(Exception::Class) >= 1.10
Requires: perl(File::Slurp)
Requires: perl(Log::Dispatch) >= 2.00
Requires: perl(Log::Log4perl) >= 0.34
Requires: perl(Log::Any) >= 1.050
Requires: perl(Module::Runtime)
Requires: perl(Readonly)
Requires: perl(Syntax::Keyword::Try) >= 0.25
Requires: perl(XML::Simple) >= 2.00
Recommends: perl(SPOPS)
Requires: perl(YAML) >= 1.30
Requires: perl(parent)
Provides: perl(Workflow) = %{version}
Provides: perl(Workflow::Action) = %{version}
Provides: perl(Workflow::Action::Null) = %{version}
Provides: perl(Workflow::Base) = %{version}
Provides: perl(Workflow::Condition) = %{version}
Provides: perl(Workflow::Condition::Evaluate) = %{version}
Provides: perl(Workflow::Condition::HasUser) = %{version}
Provides: perl(Workflow::Condition::IsFalse)
Provides: perl(Workflow::Condition::IsTrue)
Provides: perl(Workflow::Condition::LazyAND) = %{version}
Provides: perl(Workflow::Condition::LazyOR) = %{version}
Provides: perl(Workflow::Condition::Negated) = %{version}
Provides: perl(Workflow::Condition::Result)
Provides: perl(Workflow::Config) = %{version}
Provides: perl(Workflow::Config::Perl) = %{version}
Provides: perl(Workflow::Config::XML) = %{version}
Provides: perl(Workflow::Config::YAML) = %{version}
Provides: perl(Workflow::Context) = %{version}
Provides: perl(Workflow::Exception) = %{version}
Provides: perl(Workflow::Factory) = %{version}
Provides: perl(Workflow::History) = %{version}
Provides: perl(Workflow::InputField)
Provides: perl(Workflow::Persister) = %{version}
Provides: perl(Workflow::Persister::DBI) = %{version}
Provides: perl(Workflow::Persister::DBI::AutoGeneratedId) = %{version}
Provides: perl(Workflow::Persister::DBI::ExtraData) = %{version}
Provides: perl(Workflow::Persister::DBI::SequenceId) = %{version}
Provides: perl(Workflow::Persister::File) = %{version}
Provides: perl(Workflow::Persister::RandomId) = %{version}
Provides: perl(Workflow::Persister::UUID) = %{version}
Provides: perl(Workflow::State) = %{version}
Provides: perl(Workflow::Validator) = %{version}
Provides: perl(Workflow::Validator::HasRequiredField) = %{version}
Provides: perl(Workflow::Validator::InEnumeratedType) = %{version}
Provides: perl(Workflow::Validator::MatchesDateFormat) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Simple, flexible system to implement workflows
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
./Build test
make test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes doc README workflow.code-workspace
%doc Changes.md CONTRIBUTING.md cpanfile.snapshot README
%license LICENSE
%changelog