Hello community,
here is the log from the commit of package perl-Test-MockModule for
openSUSE:Factory checked in at 2020-09-18 15:21:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-MockModule (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-MockModule.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-MockModule"
Fri Sep 18 15:21:28 2020 rev:13 rq:835370 version:0.175.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-MockModule/perl-Test-MockModule.changes
2020-06-18 10:35:50.934300066 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-MockModule.new.4249/perl-Test-MockModule.changes
2020-09-18 15:21:34.493979214 +0200
@@ -1,0 +2,18 @@
+Fri Sep 18 03:15:42 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 0.175.0
+ see /usr/share/doc/packages/perl-Test-MockModule/Changes
+
+ v0.175.0
+ - 964aa2a Ignore CI files and whitesource - Nicolas R
+
+-------------------------------------------------------------------
+Tue Sep 15 03:16:25 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 0.174.0
+ see /usr/share/doc/packages/perl-Test-MockModule/Changes
+
+ v0.174.0
+ - cf65e7c Fix typo in pod - nima
+
+-------------------------------------------------------------------
Old:
----
Test-MockModule-v0.173.0.tar.gz
New:
----
Test-MockModule-v0.175.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-MockModule.spec ++++++
--- /var/tmp/diff_new_pack.7LdOnc/_old 2020-09-18 15:21:35.565980251 +0200
+++ /var/tmp/diff_new_pack.7LdOnc/_new 2020-09-18 15:21:35.569980255 +0200
@@ -17,7 +17,7 @@
Name: perl-Test-MockModule
-Version: 0.173.0
+Version: 0.175.0
Release: 0
%define cpan_name Test-MockModule
Summary: Override subroutines in a module for unit testing
@@ -48,7 +48,6 @@
%prep
%setup -q -n %{cpan_name}-v%{version}
-find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Build.PL installdirs=vendor
++++++ Test-MockModule-v0.173.0.tar.gz -> Test-MockModule-v0.175.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/.github/workflows/linux.yml
new/Test-MockModule-v0.175.0/.github/workflows/linux.yml
--- old/Test-MockModule-v0.173.0/.github/workflows/linux.yml 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/.github/workflows/linux.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,50 +0,0 @@
-name: linux
-
-on:
- push:
- branches:
- - '*'
- tags-ignore:
- - '*'
- pull_request:
-
-jobs:
- perl:
- env:
- # some plugins still needs this to run their tests...
- PERL_USE_UNSAFE_INC: 0
- AUTHOR_TESTING: 1
- AUTOMATED_TESTING: 1
- RELEASE_TESTING: 1
-
- runs-on: ubuntu-latest
-
- strategy:
- fail-fast: false
- matrix:
- perl-version:
- - '5.30'
- - '5.28'
- - '5.26'
- - '5.24'
- - '5.22'
- - '5.20'
- - '5.18'
- - '5.16'
- - '5.14'
- - '5.12'
- - '5.10'
-
- container:
- image: cpanelos/tester-perl:v${{ matrix.perl-version }}
-
- steps:
- - uses: actions/checkout@v1
- - name: perl -V
- run: perl -V
- - name: Build.PL
- run: perl Build.PL
- - name: ./Build
- run: ./Build
- - name: ./Build test
- run: ./Build test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/.github/workflows/macos.yml
new/Test-MockModule-v0.175.0/.github/workflows/macos.yml
--- old/Test-MockModule-v0.173.0/.github/workflows/macos.yml 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/.github/workflows/macos.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-name: macos
-
-on:
- push:
- branches:
- - '*'
- tags-ignore:
- - '*'
- pull_request:
-
-jobs:
- perl:
- env:
- PERL_USE_UNSAFE_INC: 0
- AUTHOR_TESTING: 1
- AUTOMATED_TESTING: 1
- RELEASE_TESTING: 1
-
- runs-on: macOS-latest
-
- strategy:
- fail-fast: false
- matrix:
- perl-version: [latest]
-
- steps:
- - uses: actions/checkout@v1
- - name: perl -V
- run: perl -V
- - name: install cpm + deps
- run: curl -sL https://git.io/cpm | perl - install -g
--show-build-log-on-failure Module::Build
- - name: Build.PL
- run: perl Build.PL
- - name: ./Build installdeps
- run: ./Build installdeps
- - name: ./Build test
- run: ./Build test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test-MockModule-v0.173.0/.github/workflows/windows.yml
new/Test-MockModule-v0.175.0/.github/workflows/windows.yml
--- old/Test-MockModule-v0.173.0/.github/workflows/windows.yml 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/.github/workflows/windows.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-name: windows
-
-on:
- push:
- branches:
- - '*'
- tags-ignore:
- - '*'
- pull_request:
-
-jobs:
- perl:
- env:
- PERL_USE_UNSAFE_INC: 0
- AUTHOR_TESTING: 0
- AUTOMATED_TESTING: 1
- RELEASE_TESTING: 0
-
- runs-on: windows-latest
-
- strategy:
- fail-fast: false
- matrix:
- perl-version: [latest]
-
- steps:
- - uses: actions/checkout@master
- - name: Set up Perl
- run: |
- choco install strawberryperl
- echo
"##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
- - name: perl -V
- run: perl -V
- - name: install deps using cpanm
- uses: perl-actions/[email protected]
- with:
- install: |
- SUPER
- - name: Build.PL
- run: perl Build.PL
- - name: ./Build test
- run: ./Build test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/.whitesource
new/Test-MockModule-v0.175.0/.whitesource
--- old/Test-MockModule-v0.173.0/.whitesource 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/.whitesource 1970-01-01 01:00:00.000000000
+0100
@@ -1,8 +0,0 @@
-{
- "checkRunSettings": {
- "vulnerableCheckRunConclusionLevel": "failure"
- },
- "issueSettings": {
- "minSeverityLevel": "LOW"
- }
-}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/Changes
new/Test-MockModule-v0.175.0/Changes
--- old/Test-MockModule-v0.173.0/Changes 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/Changes 2020-09-17 19:45:26.000000000
+0200
@@ -1,5 +1,11 @@
Revision history for Test::MockModule
+v0.175.0
+- 964aa2a Ignore CI files and whitesource - Nicolas R
+
+v0.174.0
+- cf65e7c Fix typo in pod - nima
+
v0.173.0
- 4dacd82 Add warning when 'unmock' called without arguments - Matthew Hughes
- b20dc7c import warns when using unknown argument - Nicolas R
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/MANIFEST
new/Test-MockModule-v0.175.0/MANIFEST
--- old/Test-MockModule-v0.173.0/MANIFEST 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/MANIFEST 2020-09-17 19:45:26.000000000
+0200
@@ -1,15 +1,5 @@
-.github/workflows/linux.yml
-.github/workflows/macos.yml
-.github/workflows/windows.yml
-.whitesource
Build.PL
Changes
-ci/Dockerfile
-ci/pipeline.yml
-ci/repipe
-ci/scripts/shipit
-ci/scripts/testflight
-ci/settings.yml
lib/Test/MockModule.pm
LICENSE
MANIFEST This list of files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/MANIFEST.SKIP
new/Test-MockModule-v0.175.0/MANIFEST.SKIP
--- old/Test-MockModule-v0.173.0/MANIFEST.SKIP 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/MANIFEST.SKIP 2020-09-17 19:45:26.000000000
+0200
@@ -7,10 +7,17 @@
,v$
\B\.svn\b
\B\.git\b
+\B\.github\b
\B\.gitignore\b
\b_darcs\b
\B\.cvsignore$
+# ignore ci files
+^ci\b
+
+# ignore whitesource
+\B\.whitesource
+
# Avoid VMS specific MakeMaker generated files
\bDescrip.MMS$
\bDESCRIP.MMS$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/META.json
new/Test-MockModule-v0.175.0/META.json
--- old/Test-MockModule-v0.173.0/META.json 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/META.json 2020-09-17 19:45:26.000000000
+0200
@@ -38,7 +38,7 @@
"provides" : {
"Test::MockModule" : {
"file" : "lib/Test/MockModule.pm",
- "version" : "v0.173.0"
+ "version" : "v0.175.0"
}
},
"release_status" : "stable",
@@ -54,6 +54,6 @@
"url" : "git://github.com/geofffranks/test-mockmodule.git"
}
},
- "version" : "v0.173.0",
+ "version" : "v0.175.0",
"x_serialization_backend" : "JSON::PP version 2.27400_02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/META.yml
new/Test-MockModule-v0.175.0/META.yml
--- old/Test-MockModule-v0.173.0/META.yml 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/META.yml 2020-09-17 19:45:26.000000000
+0200
@@ -18,7 +18,7 @@
provides:
Test::MockModule:
file: lib/Test/MockModule.pm
- version: v0.173.0
+ version: v0.175.0
requires:
Carp: '0'
SUPER: '1.20'
@@ -29,5 +29,5 @@
homepage: https://github.com/geofffranks/test-mockmodule
license: http://dev.perl.org/licenses/
repository: git://github.com/geofffranks/test-mockmodule.git
-version: v0.173.0
+version: v0.175.0
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/ci/Dockerfile
new/Test-MockModule-v0.175.0/ci/Dockerfile
--- old/Test-MockModule-v0.173.0/ci/Dockerfile 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/ci/Dockerfile 1970-01-01 01:00:00.000000000
+0100
@@ -1,6 +0,0 @@
-FROM ubuntu:bionic
-
-ENV DEBIAN_FRONTEND=noninteractive
-
-RUN apt-get update
-RUN apt-get install -y git libmodule-build-perl libsuper-perl
libtest-warnings-perl libsuper-perl libtest-warnings-perl
libtest-pod-coverage-perl libdevel-cover-perl libcpan-uploader-perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/ci/pipeline.yml
new/Test-MockModule-v0.175.0/ci/pipeline.yml
--- old/Test-MockModule-v0.173.0/ci/pipeline.yml 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/ci/pipeline.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,344 +0,0 @@
----
-#
-# ci/pipeline.yml
-#
-
-meta:
- name: (( param "Please name your pipeline" ))
- release: (( grab meta.name ))
- target: (( param "Please identify the name of the target Concourse CI" ))
- url: (( param "Please specify the full url of the target Concourse CI"
))
- pipeline: (( grab meta.name ))
-
- cpan:
- user: (( param "What is the username to use for uploading to CPAN?" ))
- password: (( param "What is the password to use for uplaoding to CPAN?" ))
-
- image:
- name: starkandwayne/concourse
- tag: latest
-
- aws:
- bucket: (( concat meta.pipeline "-pipeline" ))
- region_name: us-east-1
- access_key: (( param "Please set your AWS Access Key ID for your pipeline
S3 Bucket" ))
- secret_key: (( param "Please set your AWS Secret Key ID for your pipeline
S3 Bucket" ))
-
- github:
- uri: (( concat "[email protected]:" meta.github.owner "/"
meta.github.repo ))
- owner: (( param "Please specify the name of the user / organization
that owns the Github repository" ))
- repo: (( param "Please specify the name of the Github repository"
))
- branch: master
- private_key: (( param "Please generate an SSH Deployment Key for this
repo and specify it here" ))
- access_token: (( param "Please generate a Personal Access Token to be used
for creating github releases (do you have a ci-bot?)" ))
-
- slack:
- webhook: (( param "Please specify your Slack Incoming Webhook
Integration URL" ))
- success_moji: ":airplane_departure:"
- fail_moji: ":airplane_arriving:"
- upset_moji: ":sad_panda:"
- channel: (( param "Please specify the channel (#name) or user
(@user) to send messages to" ))
- username: concourse
- icon: http://cl.ly/image/3e1h0H3H2s0P/concourse-logo.png
- fail_url: '(( concat "<" meta.url
"/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME|
Concourse Failure! " meta.slack.upset_moji ">" ))'
-
-groups:
- - name: (( grab meta.pipeline ))
- jobs:
- - testflight
- - testflight-pr
- - pre
- - rc
- - shipit
- - major
-
-jobs:
- - name: testflight
- public: true
- serial: true
- plan:
- - do:
- - in_parallel:
- - { get: git, trigger: true }
- - task: testflight
- config:
- platform: linux
- image_resource:
- type: docker-image
- source:
- repository: (( grab meta.image.name ))
- tag: (( grab meta.image.tag ))
- inputs:
- - { name: git }
- run:
- path: ./git/ci/scripts/testflight
- args: []
- params:
- REPO_ROOT: git
- on_failure:
- put: notify
- params:
- channel: (( grab meta.slack.channel ))
- username: (( grab meta.slack.username ))
- icon_url: (( grab meta.slack.icon ))
- text: '(( concat meta.slack.fail_url " " meta.pipeline ":
testflight job failed" ))'
-
- - name: testflight-pr
- public: true
- serial: true
- plan:
- - do:
- - { get: git-pull-requests, trigger: true, version: every }
- - put: git-pull-requests
- params:
- path: git-pull-requests
- status: pending
- - task: testflight
- config:
- platform: linux
- image_resource:
- type: docker-image
- source:
- repository: (( grab meta.image.name ))
- tag: (( grab meta.image.tag ))
- inputs:
- - { name: git-pull-requests }
- run:
- path: ./git-pull-requests/ci/scripts/testflight
- args: []
- params:
- REPO_ROOT: git-pull-requests
- on_success:
- put: git-pull-requests
- params:
- path: git-pull-requests
- status: success
- on_failure:
- put: git-pull-requests
- params:
- path: git-pull-requests
- status: failure
- - task: pr-success-message
- config:
- platform: linux
- image_resource:
- type: docker-image
- source:
- repository: (( grab meta.image.name ))
- tag: (( grab meta.image.tag ))
- inputs:
- - { name: git-pull-requests }
- outputs:
- - { name: message }
- run:
- path: sh
- args:
- - -ce
- - |
- cd git-pull-requests
- pr_url=$(git config --get pullrequest.url)
- cd -
- echo "<${pr_url}|Pull request passed testflight> Merge when
ready: ${pr_url}" > message/body
- on_success:
- put: notify
- params:
- channel: (( grab meta.slack.channel ))
- username: (( grab meta.slack.username ))
- icon_url: (( grab meta.slack.icon ))
- text_file: message/body
-
- - name: pre
- public: true
- serial: true
- plan:
- - do:
- - get: git
- passed:
- - testflight
- trigger: true
- - get: version
- trigger: true
- - task: release-notes
- config:
- platform: linux
- image_resource:
- type: docker-image
- source:
- repository: (( grab meta.image.name ))
- tag: (( grab meta.image.tag ))
- run:
- path: sh
- args:
- - -ce
- - |
- cd git
- if [ -f ci/release_notes.md ]; then
- echo "###### RELEASE NOTES ###############"
- echo
- cat ci/release_notes.md
- echo
- echo "########################################"
- echo
- else
- echo "NO RELEASE NOTES HAVE BEEN WRITTEN"
- echo "You *might* want to do that before"
- echo "hitting (+) on that shipit job..."
- echo
- fi
- inputs:
- - name: git
- on_failure:
- put: notify
- params:
- channel: (( grab meta.slack.channel ))
- username: (( grab meta.slack.username ))
- icon_url: (( grab meta.slack.icon ))
- text: release candidate job 'pre' failed (which is unusual).
- ok: false
-
- - name: rc
- public: true
- plan:
- - do:
- - in_parallel:
- - { get: git, trigger: true, passed: [pre] }
- - { get: version, trigger: false, params: {pre: rc} }
- - put: version
- params: {file: version/number}
- on_failure:
- put: notify
- params:
- channel: (( grab meta.slack.channel ))
- username: (( grab meta.slack.username ))
- icon_url: (( grab meta.slack.icon ))
- text: '(( concat meta.slack.fail_url " " meta.pipeline ": rc job
failed" ))'
-
- - name: major
- public: true
- plan:
- - do:
- - { get: version, trigger: false, params: {bump: major} }
- - { put: version, params: {file: version/number} }
- on_failure:
- put: notify
- params:
- channel: (( grab meta.slack.channel ))
- username: (( grab meta.slack.username ))
- icon_url: (( grab meta.slack.icon ))
- text: '(( concat meta.slack.fail_url " " meta.pipeline ": major
job failed" ))'
-
- - name: shipit
- public: true
- serial: true
- plan:
- - do:
- - name: inputs
- in_parallel:
- - { get: version, passed: [rc], params: {bump: final} }
- - { get: git, passed: [rc] }
- - name: release
- task: release
- config:
- platform: linux
- image_resource:
- type: docker-image
- source:
- repository: (( grab meta.image.name ))
- tag: (( grab meta.image.tag ))
- inputs:
- - name: version
- - name: git
- outputs:
- - name: gh
- - name: pushme
- - name: notifications
- run:
- path: ./git/ci/scripts/shipit
- args: []
- params:
- REPO_ROOT: git
- VERSION_FROM: version/number
- RELEASE_ROOT: gh
- REPO_OUT: pushme
- NOTIFICATION_OUT: notifications
- BRANCH: (( grab meta.github.branch ))
- GITHUB_OWNER: (( grab meta.github.owner ))
- CPAN_USER: (( grab meta.cpan.user ))
- CPAN_PASSWORD: (( grab meta.cpan.password ))
-
- AWS_ACCESS_KEY: (( grab meta.aws.access_key ))
- AWS_SECRET_KEY: (( grab meta.aws.secret_key ))
-
- - name: upload-git
- put: git
- params:
- rebase: true
- repository: pushme/git
- - name: github-release
- put: github
- params:
- name: gh/name
- tag: gh/tag
- body: gh/notes.md
- globs: [gh/artifacts/*]
- - name: version-bump
- put: version
- params:
- bump: minor
- on_failure:
- put: notify
- params:
- channel: (( grab meta.slack.channel ))
- username: (( grab meta.slack.username ))
- icon_url: (( grab meta.slack.icon ))
- text: '(( concat meta.slack.fail_url " " meta.pipeline ": shipit
job failed" ))'
-
-resource_types:
- - name: slack-notification
- type: docker-image
- source:
- repository: cfcommunity/slack-notification-resource
-
- - name: pull-request
- type: docker-image
- source:
- repository: jtarchie/pr
-
-resources:
- - name: git
- type: git
- source:
- uri: (( grab meta.github.uri ))
- branch: (( grab meta.github.branch ))
- private_key: (( grab meta.github.private_key ))
-
- - name: git-pull-requests
- type: pull-request
- source:
- access_token: (( grab meta.github.access_token ))
- private_key: (( grab meta.github.private_key ))
- repo: (( concat meta.github.owner "/" meta.github.repo ))
- base: (( grab meta.github.branch ))
-
- - name: version
- type: semver
- source :
- driver: s3
- bucket: (( grab meta.aws.bucket ))
- region_name: (( grab meta.aws.region_name ))
- key: version
- access_key_id: (( grab meta.aws.access_key ))
- secret_access_key: (( grab meta.aws.secret_key ))
- initial_version: (( grab meta.initial_version || "0.170.0" ))
-
- - name: notify
- type: slack-notification
- source:
- url: (( grab meta.slack.webhook ))
-
- - name: github
- type: github-release
- source:
- user: (( grab meta.github.owner ))
- repository: (( grab meta.github.repo ))
- access_token: (( grab meta.github.access_token ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/ci/repipe
new/Test-MockModule-v0.175.0/ci/repipe
--- old/Test-MockModule-v0.173.0/ci/repipe 2020-06-12 13:32:06.000000000
+0200
+++ new/Test-MockModule-v0.175.0/ci/repipe 1970-01-01 01:00:00.000000000
+0100
@@ -1,114 +0,0 @@
-#!/bin/bash
-#
-# ci/repipe
-#
-# Script for merging together pipeline configuration files
-# (via Spruce!) and configuring Concourse.
-#
-# author: James Hunt <[email protected]>
-# Dennis Bell <[email protected]>
-# created: 2016-03-04
-
-need_command() {
- local cmd=${1:?need_command() - no command name given}
-
- if [[ ! -x "$(command -v $cmd)" ]]; then
- echo >&2 "${cmd} is not installed."
- if [[ "${cmd}" == "spruce" ]]; then
- echo >&2 "Please download it from
https://github.com/geofffranks/spruce/releases"
- fi
- exit 2
- fi
-}
-
-NO_FLY=
-SAVE_MANIFEST=
-VALIDATE_PIPELINE=
-NON_INTERACTIVE=
-
-cleanup() {
- rm -f save-manifest.yml
- if [[ -n ${SAVE_MANIFEST} && -e .deploy.yml ]]; then
- mv .deploy.yml save-manifest.yml
- fi
- rm -f .deploy.yml
-}
-
-usage() {
- echo Command line arguments:
- echo "no-fly Do not execute any fly commands"
- echo "save-manifest Save manifest to file save-manifest"
- echo "validate Validatei pipeline instead of set pipeline"
- echo "validate-strict Validate pipeline with strict mode"
- echo "non-interactivet Run set-pipeline in non-interactive mode"
-}
-
-for arg do
- case "${arg}" in
- no-fly|no_fly) NO_FLY="yes" ;;
- save-manifest|save_manifest) SAVE_MANIFEST="yes" ;;
- validate) VALIDATE_PIPELINE="normal" ;;
- validate-strict|validate_strict) VALIDATE_PIPELINE="strict" ;;
- non-interactive|non_interactive) NON_INTERACTIVE="--non-interactive" ;;
- help|-h|--help) usage; exit 0 ;;
- *) echo Invalid argument
- usage
- exit 1
- esac
-done
-
-cd $(dirname $BASH_SOURCE[0])
-echo "Working in $(pwd)"
-need_command spruce
-
-# Allow for target-specific settings
-settings_file="$(ls -1 settings.yml
${CONCOURSE_TARGET:+"settings-${CONCOURSE_TARGET}.yml"} 2>/dev/null | tail -n1)"
-if [[ -z "$settings_file" ]]
-then
- echo >&2 "Missing local settings in ci/settings.yml${CONCOURSE_TARGET:+" or
ci/settings-${CONCOURSE_TARGET}.yml"}!"
- exit 1
-fi
-
-echo >&2 "Using settings found in ${settings_file}"
-
-set -e
-trap "cleanup" QUIT TERM EXIT INT
-spruce merge pipeline.yml ${settings_file} > .deploy.yml
-PIPELINE=$(spruce json .deploy.yml | jq -r '.meta.pipeline // ""')
-if [[ -z ${PIPELINE} ]]; then
- echo >&2 "Missing pipeline name in ci/settings.yml!"
- exit 1
-fi
-
-TARGET_FROM_SETTINGS=$(spruce json .deploy.yml | jq -r '.meta.target // ""')
-if [[ -z ${CONCOURSE_TARGET} ]]; then
- TARGET=${TARGET_FROM_SETTINGS}
-elif [[ "$CONCOURSE_TARGET" != "$TARGET_FROM_SETTINGS" ]]
-then
- echo >&2 "Target in {$settings_file} differs from target in
\$CONCOURSE_TARGET"
- echo >&2 " \$CONCOURSE_TARGET: $CONCOURSE_TARGET"
- echo >&2 " Target in file: $TARGET_FROM_SETTINGS"
- exit 1
-else
- TARGET=${CONCOURSE_TARGET}
-fi
-
-if [[ -z ${TARGET} ]]; then
- echo >&2 "Missing Concourse Target in ci/settings.yml!"
- exit 1
-fi
-
-fly_cmd="${FLY_CMD:-fly}"
-
-[[ -n ${NO_FLY} ]] && { echo no fly execution requested ; exit 0; }
-
-case "${VALIDATE_PIPELINE}" in
- normal) fly_opts="validate-pipeline" ;;
- strict) fly_opts="validate-pipeline --strict" ;;
- *) fly_opts="set-pipeline ${NON_INTERACTIVE} --pipeline ${PIPELINE}" ;;
-esac
-
-set +x
-$fly_cmd --target ${TARGET} ${fly_opts} --config .deploy.yml
-[[ -n ${VALIDATE_PIPELINE} ]] && exit 0
-$fly_cmd --target ${TARGET} unpause-pipeline --pipeline ${PIPELINE}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/ci/scripts/shipit
new/Test-MockModule-v0.175.0/ci/scripts/shipit
--- old/Test-MockModule-v0.173.0/ci/scripts/shipit 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/ci/scripts/shipit 1970-01-01
01:00:00.000000000 +0100
@@ -1,94 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-header() {
- echo
- echo "###############################################"
- echo
- echo $*
- echo
-}
-
-: ${REPO_ROOT:?required}
-: ${RELEASE_ROOT:?required}
-: ${REPO_OUT:?required}
-: ${BRANCH:?required}
-: ${GITHUB_OWNER:?required}
-: ${VERSION_FROM:?required}
-
-if [[ ! -f ${VERSION_FROM} ]]; then
- echo >&2 "Version file (${VERSION_FROM}) not found. Did you misconfigure
Concourse?"
- exit 2
-fi
-VERSION=$(cat ${VERSION_FROM})
-if [[ -z ${VERSION} ]]; then
- echo >&2 "Version file (${VERSION_FROM}) was empty. Did you misconfigure
Concourse?"
- exit 2
-fi
-
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
-###############################################################
-
-header "Generating release notes..."
-pushd ${REPO_ROOT}
-changes=$(git log --pretty="- %h %s - %an" $(git describe --tags | cut -d -
-f1)..HEAD)
-old_changes=$(tail -n +3 Changes)
-cat <<EOF > Changes
-Revision history for Test::MockModule
-
-v${VERSION}
-$changes
-
-$old_changes
-EOF
-popd
-
-header "Updating module version..."
-pushd ${REPO_ROOT}
-sed -i "s/\$VERSION = '.*';/\$VERSION = '$VERSION';/" lib/Test/MockModule.pm
-
-header "Creating distribution tarball..."
-perl Build.PL
-./Build manifest
-./Build dist
-
-header "Uploading distribution to cpan..."
-cat <<EOF > ~/.pause
-user ${CPAN_USER}
-password ${CPAN_PASSWORD}
-EOF
-
-cpan-upload *.tar.gz
-popd
-
-mkdir -p ${RELEASE_ROOT}/artifacts
-
-echo "${VERSION}" > ${RELEASE_ROOT}/tag
-echo "v${VERSION}" > ${RELEASE_ROOT}/name
-mv ${REPO_ROOT}/*-v${VERSION}.tar.gz ${RELEASE_ROOT}/artifacts
-[ -f ${REPO_ROOT}/ci/release_notes.md ] && mv ${REPO_ROOT}/ci/release_notes.md
${RELEASE_ROOT}/notes.md
-cat <<EOF >>${RELEASE_ROOT}/notes.md
-
-# Changes
-
-$changes
-EOF
-
-header "Updating git repo with release..."
-if [[ -z $(git config --global user.email) ]]; then
- git config --global user.email "[email protected]"
-fi
-if [[ -z $(git config --global user.name) ]]; then
- git config --global user.name "CI Bot"
-fi
-
-(cd ${REPO_ROOT}
- git merge --no-edit ${BRANCH}
- git add -A
- git status
- git commit -m "release v${VERSION}")
-
-# so that future steps in the pipeline can push our changes
-cp -a ${REPO_ROOT} ${REPO_OUT}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/ci/scripts/testflight
new/Test-MockModule-v0.175.0/ci/scripts/testflight
--- old/Test-MockModule-v0.173.0/ci/scripts/testflight 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/ci/scripts/testflight 1970-01-01
01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-header() {
- echo
- echo "###############################################"
- echo
- echo $*
- echo
-}
-
-#!/bin/bash
-
-set -e
-
-pushd ${REPO_ROOT}
-perl Build.PL
-
-header "Running tests..."
-./Build test
-header "Testing POD coverage..."
-./Build testpodcoverage
-header "Examining test coverage..."
-./Build testcover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/ci/settings.yml
new/Test-MockModule-v0.175.0/ci/settings.yml
--- old/Test-MockModule-v0.173.0/ci/settings.yml 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/ci/settings.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
----
-meta:
- name: perl5-test-mockmodule
- target: ci.spruce.cf
- url: https://ci.spruce.cf
-
- image:
- name: gfranks/cpan-uploader
-
- aws:
- access_key: (( vault "secret/aws/cfcommunity:access" ))
- secret_key: (( vault "secret/aws/cfcommunity:secret" ))
-
- cpan:
- user: (( vault "secret/pipelines/test-mockmodule/cpan:user" ))
- password: (( vault "secret/pipelines/test-mockmodule/cpan:password" ))
-
- github:
- owner: geofffranks
- repo: test-mockmodule
- branch: master
- private_key: (( vault "secret/pipelines/test-mockmodule/github:private" ))
- access_token: (( vault "secret/pipelines/test-mockmodule/github:token" ))
-
- slack:
- webhook: (( vault "secret/pipelines/test-mockmodule/slack:webhook" ))
- channel: '@gfranks'
- username: ci-bot
- blob_success: '(( concat "$BUILD_PIPELINE_NAME: New version of
$BUILD_JOB_NAME was detected, and updated in master. <" meta.url
"/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME| Cut a new release?>"
))'
- blob_failure: '(( concat "$BUILD_PIPELINE_NAME: :airplane_arriving: <"
meta.url
"/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME|
Failed to update the blob for $BUILD_JOB_NAME>" ))'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-MockModule-v0.173.0/lib/Test/MockModule.pm
new/Test-MockModule-v0.175.0/lib/Test/MockModule.pm
--- old/Test-MockModule-v0.173.0/lib/Test/MockModule.pm 2020-06-12
13:32:06.000000000 +0200
+++ new/Test-MockModule-v0.175.0/lib/Test/MockModule.pm 2020-09-17
19:45:26.000000000 +0200
@@ -5,7 +5,7 @@
use Scalar::Util qw/reftype weaken/;
use Carp;
use SUPER;
-$VERSION = '0.173.0';
+$VERSION = '0.175.0';
our $STRICT_MODE;
@@ -487,7 +487,7 @@
# only alter calls with path set to "/a/b/c/d"
return
$mock->original("get_path_for")->("/my/custom/path");
} else { # preserve the original arguments
- return $mock->original("get_path_for")->(@_);
+ return $mock->original("get_path_for")->($path, @_);
}
});