Skip to content

Commit

Permalink
add copyright headers to yml files (digital-asset#4407)
Browse files Browse the repository at this point in the history
We seem to have forgotten about them in the copyright scripts.

CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
garyverhaegen-da authored Feb 6, 2020
1 parent 9af40f5 commit 47bd131
Show file tree
Hide file tree
Showing 27 changed files with 104 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .hlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# HLint configuration file
# https://github.com/ndmitchell/hlint
##########################
Expand Down Expand Up @@ -132,3 +135,4 @@

# Define some custom infix operators
# - fixity: infixr 3 ~^#^~

4 changes: 4 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

pull_request_rules:
- name: "strict rebase"
conditions:
Expand Down Expand Up @@ -35,3 +38,4 @@ pull_request_rules:
method: squash
# Takes no options, see <https://doc.mergify.io/examples.html#deleting-merged-branch>
delete_head_branch: {}

3 changes: 3 additions & 0 deletions azure-cron.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Azure Pipelines file, see https://aka.ms/yaml

# Do not run on PRs
Expand Down
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# Azure Pipelines file, see https://aka.ms/yaml

# Enable builds on all branches
Expand Down
4 changes: 4 additions & 0 deletions ci/build-unix.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

parameters:
name: ''

Expand Down Expand Up @@ -71,3 +74,4 @@ steps:
inputs:
targetPath: $(Build.StagingDirectory)/$(publish.artifact)
artifactName: $(publish.artifact)

4 changes: 4 additions & 0 deletions ci/build-windows.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

steps:
- checkout: self

Expand Down Expand Up @@ -57,3 +60,4 @@ steps:
inputs:
targetPath: $(Build.StagingDirectory)/$(publish.artifact-unsigned-windows-installer)
artifactName: $(publish.artifact-unsigned-windows-installer)

4 changes: 4 additions & 0 deletions ci/report-end.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

steps:
- bash: |
set -euo pipefail
echo "##vso[task.setvariable variable=time;isOutput=true]$(date -u +"%Y-%m-%dT%H:%M:%S+00:00")"
condition: always()
name: end
4 changes: 4 additions & 0 deletions ci/report-start.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

steps:
- bash: |
set -euo pipefail
echo "##vso[task.setvariable variable=time;isOutput=true]$(date -u +"%Y-%m-%dT%H:%M:%S+00:00")"
echo "##vso[task.setvariable variable=machine;isOutput=true]$(Agent.MachineName)"
condition: always()
name: start
4 changes: 4 additions & 0 deletions ci/tell-slack-failed.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

steps:
- bash: |
set -euo pipefail
Expand All @@ -8,3 +11,4 @@ steps:
--data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/daml/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
$(Slack.team-daml)
condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))
4 changes: 4 additions & 0 deletions compiler/damlc/daml-ide-core/dlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# hlint configuration file
# ==================================

Expand Down Expand Up @@ -670,3 +673,4 @@
- ignore: {name: Redundant $}
# Don't warn on redundant do (DAML choice syntax *mandates* 'do'!)
- ignore: {name: Redundant do}

4 changes: 4 additions & 0 deletions compiler/damlc/ide-debug-driver/sample-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

ide-cmd: daml-head ide --debug
project-root: /home/moritz/quickstart-java
commands:
Expand All @@ -16,3 +19,4 @@ commands:
- cmd: close
file: daml/Main.daml
- cmd: wait

2 changes: 2 additions & 0 deletions dev-env/bin/dade-copyright-headers
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ filetypes = \
'tf' : { 'start' : '#' * 80 , 'line' : '#' , 'end' : '' , 'empty_line' : '' } ,
'css' : { 'start' : '/*' , 'line' : '' , 'end' : ' */' } ,
'scss' : { 'start' : '/*' , 'line' : '' , 'end' : ' */' } ,
'yml' : { 'start' : '#' * 80 , 'line' : '#' , 'end' : '' , 'empty_line' : '' } ,
'yaml' : { 'start' : '#' * 80 , 'line' : '#' , 'end' : '' , 'empty_line' : '' } ,
}

#########################
Expand Down
4 changes: 4 additions & 0 deletions dev-env/dotfiles/stylish-haskell.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# stylish-haskell configuration file
# ==================================

Expand Down Expand Up @@ -169,3 +172,4 @@ newline: native
# language_extensions:
# - TemplateHaskell
# - QuasiQuotes

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

project:
source: daml
scenario: Main:setup
Expand All @@ -6,3 +9,4 @@ project:
- Bob
- USD_Bank
- EUR_Bank

4 changes: 4 additions & 0 deletions docs/source/migrate/foo-1.0.0/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.0.0
name: foo
source: daml
Expand All @@ -10,3 +13,4 @@ exposed-modules:
dependencies:
- daml-prim
- daml-stdlib

4 changes: 4 additions & 0 deletions docs/source/migrate/foo-2.0.0/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.0.0
name: foo
source: daml
Expand All @@ -10,3 +13,4 @@ exposed-modules:
dependencies:
- daml-prim
- daml-stdlib

4 changes: 4 additions & 0 deletions docs/source/migrate/foo-upgrade-2.0.0/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.0.0
name: foo-upgrade-2.0.0
source: daml
Expand All @@ -14,3 +17,4 @@ dependencies:
build-options:
- '--package=("foo-1.0.0",[("Foo","FooA")])'
- '--package=("foo-2.0.0",[("Foo","FooB")])'

4 changes: 4 additions & 0 deletions language-support/hs/bindings/examples/nim/package.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: nim
version: 0.1.0.0
description: Play Nim on a DAML Ledger
Expand Down Expand Up @@ -35,3 +38,4 @@ executables:
- OverloadedStrings
- RecordWildCards
- ScopedTypeVariables

4 changes: 4 additions & 0 deletions language-support/hs/bindings/examples/nim/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

resolver: lts-14.3

extra-lib-dirs:
Expand All @@ -21,3 +24,4 @@ extra-deps:
- core

- archive: /tmp/daml-ledger-0.1.0.0.tar.gz

4 changes: 4 additions & 0 deletions language-support/hs/bindings/package.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: daml-ledger
version: 0.1.0.0
description: Haskell bindings for a DAML Ledger
Expand Down Expand Up @@ -42,3 +45,4 @@ library:
- OverloadedStrings
- RecordWildCards
- ScopedTypeVariables

4 changes: 4 additions & 0 deletions language-support/hs/bindings/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

resolver: lts-14.3

extra-lib-dirs:
Expand All @@ -19,3 +22,4 @@ extra-deps:
subdirs:
- .
- core

5 changes: 4 additions & 1 deletion language-support/scala/examples/quickstart-scala/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.0.0
name: quickstart
source: daml
Expand All @@ -19,4 +22,4 @@ codegen:
package-prefix: com.digitalasset.quickstart.iou.model
output-directory: scala-codegen/src/main/scala
verbosity: 2
# </doc-ref:codegen-scala>
# </doc-ref:codegen-scala>
4 changes: 4 additions & 0 deletions language-support/ts/codegen/tests/daml/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.0.0
name: daml
version: 1.0.0
Expand All @@ -10,3 +13,4 @@ exposed-modules:
dependencies:
- daml-prim
- daml-stdlib

4 changes: 4 additions & 0 deletions navigator/backend/scenarios/rental/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.13.0
name: rental
source: daml/Main.daml
Expand All @@ -12,3 +15,4 @@ exposed-modules:
dependencies:
- daml-prim
- daml-stdlib

4 changes: 4 additions & 0 deletions release/artifacts.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

- target: //daml-lf/data:data
type: jar-scala
- target: //daml-lf/archive:daml_lf_dev_archive_java_proto
Expand Down Expand Up @@ -194,3 +197,4 @@
type: jar-scala
- target: //libs-scala/timer-utils:timer-utils
type: jar-scala

4 changes: 4 additions & 0 deletions stack-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

resolver: lts-14.1
packages:
- archive: http://digitalassetsdk.bintray.com/ghc-lib/ghc-lib-parser-8.8.1.20200122.tar.gz
Expand Down Expand Up @@ -29,3 +32,4 @@ packages:
# Core packages, need to be listed for integer-simple flags.
- integer-simple-0.1.1.1
- text-1.2.3.1

4 changes: 4 additions & 0 deletions triggers/tests/scenarios/daml.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

sdk-version: 0.13.44
name: trigger-scenarios
source: .
Expand All @@ -6,3 +9,4 @@ dependencies:
- daml-stdlib
- daml-prim
- daml-trigger.dar

0 comments on commit 47bd131

Please sign in to comment.