summaryrefslogtreecommitdiffstats
path: root/tools/lint/test/files/updatebot/good2.yaml
blob: 0161d28b11c6f00adc4595ae6c1bf2328b86c3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
# Version of this schema
schema: 1

bugzilla:
  # Bugzilla product and component for this directory and subdirectories
  product: Core
  component: "Audio/Video: Playback"

# Document the source of externally hosted code
origin:

  # Short name of the package/library
  name: dav1d

  description: dav1d, a fast AV1 decoder

  # Full URL for the package's homepage/etc
  # Usually different from repository url
  url: https://code.videolan.org/videolan/dav1d

  # Human-readable identifier for this version/release
  # Generally "version NNN", "tag SSS", "bookmark SSS"
  release: ffb59680356fd210816cf9e46d9d023ade1f4d5a

  # Revision to pull in
  # Must be a long or short commit SHA (long preferred)
  revision: ffb59680356fd210816cf9e46d9d023ade1f4d5a

  # The package's license, where possible using the mnemonic from
  # https://spdx.org/licenses/
  # Multiple licenses can be specified (as a YAML list)
  # A "LICENSE" file must exist containing the full license text
  license: BSD-2-Clause

  license-file: COPYING

updatebot:
  maintainer-phab: chunmin
  maintainer-bz: cchang@mozilla.com
  tasks:
    - type: vendoring
      enabled: true
      frequency: release

vendoring:
  url: https://code.videolan.org/videolan/dav1d
  source-hosting: gitlab
  vendor-directory: third_party/dav1d

  exclude:
    - build/.gitattributes
    - build/.gitignore
    - doc
    - examples
    - package
    - tools

  generated:
    - '{yaml_dir}/vcs_version.h'
    - '{yaml_dir}/version.h'

  update-actions:
    - action: copy-file
      from: include/vcs_version.h.in
      to: '{yaml_dir}/vcs_version.h'
    - action: replace-in-file
      pattern: '@VCS_TAG@'
      with: '{revision}'
      file: '{yaml_dir}/vcs_version.h'
    - action: run-script
      script: '{yaml_dir}/update-version.sh'
      cwd: '{vendor_dir}'
      args: ['{yaml_dir}/version.h']