summaryrefslogtreecommitdiffstats
path: root/comm/third_party/asn1js/moz.yaml
blob: f9a60af27f39a32b24207d56e017ca578d799a65 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
# Version of this schema
schema: 1

bugzilla:
  # Bugzilla product and component for this directory and subdirectories
  product: Mailnews Core
  component: LDAP Integration
# Document the source of externally hosted code
origin:

  # Short name of the package/library
  name: ASN1.js

  description: ASN1js is a pure JavaScript library implementing a full ASN.1 BER decoder and encoder

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

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

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

  # 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-3-Clause

  # If the package's license is specified in a particular file,
  # this is the name of the file.
  # optional
  license-file: LICENSE

# Configuration for the automated vendoring system.
# optional
vendoring:

  # Repository URL to vendor from
  # eg. https://github.com/kinetiknz/nestegg
  # Any repository host can be specified here, however initially we'll only
  # support automated vendoring from selected sources.
  url: https://github.com/PeculiarVentures/asn1.js

  # Type of hosting for the upstream repository
  # Valid values are 'gitlab', 'github', googlesource
  source-hosting: github
  tracking: tag

  skip-vendoring-steps:
    - hg-add
    - spurious-check
    - update-moz-build

  # Files/paths that will not be vendored from the upstream repository
  # Implicitly contains ".git", and ".gitignore"
  # optional
  exclude:
    - .eslintrc.json
    - .github/
    - .gitignore
    - .mocharc.yaml
    - .npmrc
    - .nycrc
    - CNAME
    - README.md
    - rollup.config.js
    - test/
    - typedoc.json

  keep:
    - make_bundle.sh
    - make-esmodule-bundle.patch

  update-actions:
    - action: run-script
      script: 'make_bundle.sh'
      cwd: '{yaml_dir}'

    - action: replace-in-file-regex
      file: '{yaml_dir}/../README.asn1js'
      pattern: '\[tag v[0-9\.]+\]'
      with: '[tag {revision}]'

    - action: delete-path
      path: 'build'