Skip to content

Commit 2bc57d6

Browse files
authored
Merge pull request #40 from carolynvs/standardize-repo
Standardize Repository
2 parents c7e9e6f + 7f42f08 commit 2bc57d6

File tree

5 files changed

+51
-14
lines changed

5 files changed

+51
-14
lines changed
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# https://github.com/marketplace/actions/assign-to-one-project
2+
3+
name: Assign to Project
4+
5+
on:
6+
issues:
7+
types: [opened, labeled]
8+
pull_request_target:
9+
types: [opened, labeled]
10+
env:
11+
MY_GITHUB_TOKEN: ${{ secrets.ASSIGN_PROJECT_TOKEN }}
12+
13+
jobs:
14+
assign_one_project:
15+
runs-on: ubuntu-latest
16+
name: Assign Issue to Project
17+
steps:
18+
- name: Assign Issue to Project
19+
uses: srggrs/[email protected]
20+
if: ${{ github.event_name == 'issues' }}
21+
with:
22+
project: 'https://github.com/orgs/getporter/projects/1'
23+
column_name: 'Inbox'
24+
- name: Assign Pull Request to Project
25+
uses: srggrs/[email protected]
26+
if: ${{ github.event_name == 'pull_request_target' }}
27+
with:
28+
project: 'https://github.com/orgs/getporter/projects/1'
29+
column_name: 'In Progress'

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pool:
1515
steps:
1616
- task: GoTool@0
1717
inputs:
18-
version: '1.17.6'
18+
version: '1.17.8'
1919
displayName: 'Install Go'
2020

2121
- script: go run mage.go ConfigureAgent

go.mod

+9-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ go 1.17
77
// Copy any additional replace directives from Porter's go.mod file
88
// They must match the replaces used by porter everything to compile
99
replace (
10-
1110
// expose-ast
1211
// https://github.com/osteele/liquid/pull/59
1312
github.com/osteele/liquid => github.com/carolynvs/liquid v1.2.5-0.20220131221838-2e107bef298f
@@ -16,7 +15,7 @@ replace (
1615
)
1716

1817
require (
19-
get.porter.sh/porter v1.0.0-alpha.9
18+
get.porter.sh/porter v1.0.0-alpha.13
2019
github.com/Masterminds/semver v1.5.0
2120
github.com/ghodss/yaml v1.0.0
2221
github.com/pkg/errors v0.9.1
@@ -35,16 +34,15 @@ require (
3534
github.com/andybalholm/brotli v1.0.0 // indirect
3635
github.com/andybalholm/cascadia v1.0.0 // indirect
3736
github.com/carolynvs/aferox v0.3.0 // indirect
38-
github.com/carolynvs/magex v0.6.0 // indirect
37+
github.com/carolynvs/magex v0.6.1 // indirect
3938
github.com/cbroglie/mustache v1.0.1 // indirect
4039
github.com/cenkalti/backoff/v4 v4.1.1 // indirect
41-
github.com/cnabio/cnab-go v0.21.0 // indirect
40+
github.com/cnabio/cnab-go v0.23.0 // indirect
4241
github.com/cyberphone/json-canonicalization v0.0.0-20210303052042-6bc126869bf4 // indirect
4342
github.com/davecgh/go-spew v1.1.1 // indirect
4443
github.com/dsnet/compress v0.0.1 // indirect
4544
github.com/fatih/color v1.9.0 // indirect
4645
github.com/fsnotify/fsnotify v1.4.9 // indirect
47-
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 // indirect
4846
github.com/gobuffalo/logger v1.0.4 // indirect
4947
github.com/gobuffalo/packd v1.0.0 // indirect
5048
github.com/gobuffalo/packr/v2 v2.8.1 // indirect
@@ -60,6 +58,7 @@ require (
6058
github.com/karrick/godirwalk v1.16.1 // indirect
6159
github.com/klauspost/compress v1.12.3 // indirect
6260
github.com/klauspost/pgzip v1.2.4 // indirect
61+
github.com/kr/text v0.2.0 // indirect
6362
github.com/magefile/mage v1.11.0 // indirect
6463
github.com/magiconair/properties v1.8.1 // indirect
6564
github.com/markbates/errx v1.1.0 // indirect
@@ -73,17 +72,20 @@ require (
7372
github.com/mitchellh/mapstructure v1.3.3 // indirect
7473
github.com/mmcdole/gofeed v1.0.0-beta2 // indirect
7574
github.com/mmcdole/goxpp v0.0.0-20181012175147-0068e33feabf // indirect
75+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
7676
github.com/nwaples/rardecode v1.1.0 // indirect
7777
github.com/oklog/ulid v1.3.1 // indirect
7878
github.com/olekukonko/tablewriter v0.0.4 // indirect
79-
github.com/osteele/liquid v1.2.4 // indirect
79+
github.com/osteele/liquid v1.3.0 // indirect
8080
github.com/osteele/tuesday v1.0.3 // indirect
8181
github.com/pelletier/go-toml v1.9.1 // indirect
8282
github.com/pierrec/lz4/v4 v4.0.3 // indirect
8383
github.com/pmezard/go-difflib v1.0.0 // indirect
8484
github.com/qri-io/jsonpointer v0.1.1 // indirect
8585
github.com/qri-io/jsonschema v0.2.2-0.20210723092138-2eb22ee8115f // indirect
86+
github.com/sergi/go-diff v1.1.0 // indirect
8687
github.com/sirupsen/logrus v1.8.1 // indirect
88+
github.com/smartystreets/assertions v1.0.0 // indirect
8789
github.com/spf13/afero v1.5.1 // indirect
8890
github.com/spf13/cast v1.3.1 // indirect
8991
github.com/spf13/jwalterweatherman v1.1.0 // indirect
@@ -117,6 +119,7 @@ require (
117119
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a // indirect
118120
google.golang.org/grpc v1.41.0 // indirect
119121
google.golang.org/protobuf v1.27.1 // indirect
122+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
120123
gopkg.in/ini.v1 v1.56.0 // indirect
121124
gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 // indirect
122125
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect

go.sum

+7-7
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ contrib.go.opencensus.io/exporter/stackdriver v0.12.1/go.mod h1:iwB6wGarfphGGe/e
4444
contrib.go.opencensus.io/integrations/ocsql v0.1.4/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE=
4545
contrib.go.opencensus.io/resource v0.1.1/go.mod h1:F361eGI91LCmW1I/Saf+rX0+OFcigGlFvXwEGEnkRLA=
4646
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
47-
get.porter.sh/porter v1.0.0-alpha.9 h1:HjHA0Is1vwaMaCRk38l4dBDk41co4UsjjT6I2ZaZpS0=
48-
get.porter.sh/porter v1.0.0-alpha.9/go.mod h1:DFtSuzb4ZMyEbrWwEA8u4Ajg9+jlKP9F7V+69+pNB8g=
47+
get.porter.sh/porter v1.0.0-alpha.13 h1:lrhHmO3aSxRZBDUSPunqF/YNyhHKvFhLxrQfhy3g59s=
48+
get.porter.sh/porter v1.0.0-alpha.13/go.mod h1:aXV2AUvuc9/aExhaMN+nw2mVLesrEV4KCbWDwbKXC0c=
4949
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
5050
git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
5151
github.com/AkihiroSuda/containerd-fuse-overlayfs v1.0.0/go.mod h1:0mMDvQFeLbbn1Wy8P2j3hwFhqBq+FKn8OZPno8WLmp8=
@@ -235,8 +235,8 @@ github.com/carolynvs/aferox v0.3.0/go.mod h1:eb7CHGIO33CCZS//xtnblvPZbuuZMv0p1Vb
235235
github.com/carolynvs/datetime-printer v0.2.0/go.mod h1:p9W8ZUhmQUOVD5kiDuGXwRG65/nTkZWlLylY7s+Qw2k=
236236
github.com/carolynvs/liquid v1.2.5-0.20220131221838-2e107bef298f h1:VQBTZqr7lKJ7I5aibSzwlDd9QiPIJ2vZCYlHB4tUfuQ=
237237
github.com/carolynvs/liquid v1.2.5-0.20220131221838-2e107bef298f/go.mod h1:w8U5mURyI2WkBkOqadQ8C2W+oK+8TDGwo8V612sRSAI=
238-
github.com/carolynvs/magex v0.6.0 h1:rzz4RnBiR8hr2WYEsmq+mqkRLEstPnEK8ZP9MgxNY9Y=
239-
github.com/carolynvs/magex v0.6.0/go.mod h1:hqaEkr9TAv+kFb/5wgDiTdszF13rpe0Q+bWHmTe6N74=
238+
github.com/carolynvs/magex v0.6.1 h1:E/ezIActxIslFzwR/tD3j1CUPa64utMzN6aKQ2/xFG4=
239+
github.com/carolynvs/magex v0.6.1/go.mod h1:hqaEkr9TAv+kFb/5wgDiTdszF13rpe0Q+bWHmTe6N74=
240240
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
241241
github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A=
242242
github.com/cbroglie/mustache v1.0.1 h1:ivMg8MguXq/rrz2eu3tw6g3b16+PQhoTn6EZAhst2mw=
@@ -267,8 +267,8 @@ github.com/cloudflare/cfssl v1.4.1/go.mod h1:KManx/OJPb5QY+y0+o/898AMcM128sF0bUR
267267
github.com/cloudflare/go-metrics v0.0.0-20151117154305-6a9aea36fb41/go.mod h1:eaZPlJWD+G9wseg1BuRXlHnjntPMrywMsyxf+LTOdP4=
268268
github.com/cloudflare/redoctober v0.0.0-20171127175943-746a508df14c/go.mod h1:6Se34jNoqrd8bTxrmJB2Bg2aoZ2CdSXonils9NsiNgo=
269269
github.com/cnabio/cnab-go v0.10.0-beta1/go.mod h1:5c4uOP6ZppR4nUGtCMAElscRiYEUi44vNQwtSAvISXk=
270-
github.com/cnabio/cnab-go v0.21.0 h1:KPldr84NIFG3gRxpjZHOm+ao2jCIoYz85SXyq6cMuJo=
271-
github.com/cnabio/cnab-go v0.21.0/go.mod h1:tgOyo8IdilDkTsJvp1aDi80+miolhsuANneBLrfSQL4=
270+
github.com/cnabio/cnab-go v0.23.0 h1:BBzSHCHWs4u0RT21VwGP9nAF+cq1pAkG5Qai4MQaOcs=
271+
github.com/cnabio/cnab-go v0.23.0/go.mod h1:0DE0YB+qVoKLeg21cX30CIxBBhwEvs6v9b0prx9zoiA=
272272
github.com/cnabio/cnab-to-oci v0.3.1-beta1.0.20210614060230-e4d2bd5441c8/go.mod h1:nl9mHZV0Tvj6ZirWkjpiWuVp71RenwUQ98KHA9ZY27g=
273273
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
274274
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
@@ -424,6 +424,7 @@ github.com/docker/distribution v2.6.0-rc.1.0.20180327202408-83389a148052+incompa
424424
github.com/docker/distribution v2.7.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
425425
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
426426
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
427+
github.com/docker/distribution v2.8.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
427428
github.com/docker/docker v0.0.0-20200511152416-a93e9eb0e95c/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
428429
github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
429430
github.com/docker/docker v1.4.2-0.20180531152204-71cd53e4a197/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
@@ -502,7 +503,6 @@ github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2H
502503
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
503504
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
504505
github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
505-
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 h1:DujepqpGd1hyOd7aW59XpK7Qymp8iy83xq74fLr21is=
506506
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q=
507507
github.com/go-critic/go-critic v0.4.1/go.mod h1:7/14rZGnZbY6E38VEGk2kVhoq6itzc1E68facVDK23g=
508508
github.com/go-critic/go-critic v0.4.3/go.mod h1:j4O3D4RoIwRqlZw5jJpx0BNfXWWbpcJoKu5cYSe4YmQ=

magefile.go

+5
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ func Publish() {
4141
magefile.Publish()
4242
}
4343

44+
// Test the publish logic against your github fork
45+
func TestPublish(username string) {
46+
magefile.TestPublish(username)
47+
}
48+
4449
// Install the mixin
4550
func Install() {
4651
magefile.Install()

0 commit comments

Comments
 (0)