0.2.67 • Published 19 days ago

@backstage/plugin-fossa v0.2.67

Weekly downloads
347
License
Apache-2.0
Repository
github
Last release
19 days ago

FOSSA Plugin

The FOSSA Plugin displays code statistics from FOSSA.

FOSSA Card

Getting Started

  1. Install the FOSSA Plugin:
# packages/app

yarn add @backstage/plugin-fossa
  1. Add plugin to the app:
// packages/app/src/plugins.ts

export { plugin as Fossa } from '@backstage/plugin-fossa';
  1. Add the FossaCard to the EntityPage:
// packages/app/src/components/catalog/EntityPage.tsx

import { FossaCard } from '@backstage/plugin-fossa';

const OverviewContent = ({ entity }: { entity: Entity }) => (
  <Grid container spacing={3} alignItems="stretch">
    // ...
    <Grid item xs={12} sm={6} md={4}>
      <FossaCard entity={entity} />
    </Grid>
    // ...
  </Grid>
);
  1. Add the proxy config:
# app-config.yaml

proxy:
  '/fossa':
    target: https://app.fossa.io/api
    allowedMethods: ['GET']
    headers:
      Authorization:
        # Content: 'token <your-fossa-api-token>'
        $env: FOSSA_AUTH_HEADER

# if you have a fossa organization, configure your id here
fossa:
  organizationId: <your-fossa-organization-id>
  1. Get an api-token and provide FOSSA_AUTH_HEADER as env variable (https://app.fossa.com/account/settings/integrations/api_tokens)

  2. Add the fossa.io/project-name annotation to your catalog-info.yaml file:

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: backstage
  description: |
    Backstage is an open-source developer portal that puts the developer experience first.
  annotations:
    fossa.io/project-name: YOUR_PROJECT_NAME
spec:
  type: library
  owner: CNCF
  lifecycle: experimental
0.2.67

21 days ago

0.2.66

24 days ago

0.2.66-next.1

1 month ago

0.2.66-next.0

1 month ago

0.2.65

1 month ago

0.2.64

2 months ago

0.2.63

2 months ago

0.2.63-next.2

2 months ago

0.2.63-next.1

2 months ago

0.2.63-next.0

2 months ago

0.2.62

3 months ago

0.2.62-next.3

3 months ago

0.2.62-next.2

3 months ago

0.2.62-next.1

3 months ago

0.2.62-next.0

4 months ago

0.2.61

4 months ago

0.2.61-next.2

4 months ago

0.2.61-next.1

4 months ago

0.2.61-next.0

5 months ago

0.2.60

5 months ago

0.2.60-next.3

5 months ago

0.2.60-next.2

5 months ago

0.2.60-next.1

5 months ago

0.2.58-next.2

6 months ago

0.2.58-next.1

6 months ago

0.2.58-next.0

7 months ago

0.2.53-next.1

9 months ago

0.2.53-next.0

10 months ago

0.2.56-next.3

8 months ago

0.2.56-next.1

9 months ago

0.2.56-next.2

8 months ago

0.2.57-next.1

7 months ago

0.2.57-next.0

8 months ago

0.2.52-next.2

10 months ago

0.2.52-next.1

10 months ago

0.2.57-next.2

7 months ago

0.2.55-next.0

9 months ago

0.2.52

10 months ago

0.2.59

6 months ago

0.2.58

6 months ago

0.2.57

7 months ago

0.2.56

8 months ago

0.2.55

9 months ago

0.2.54

9 months ago

0.2.53

9 months ago

0.2.60-next.0

6 months ago

0.2.52-next.0

11 months ago

0.2.51-next.2

11 months ago

0.2.51-next.3

11 months ago

0.2.51

11 months ago

0.2.51-next.0

12 months ago

0.2.51-next.1

12 months ago

0.2.50-next.2

1 year ago

0.2.50-next.1

1 year ago

0.2.50

12 months ago

0.2.49-next.3

1 year ago

0.2.50-next.0

1 year ago

0.2.49

1 year ago

0.2.48-next.0

1 year ago

0.2.48-next.1

1 year ago

0.2.48-next.2

1 year ago

0.2.49-next.2

1 year ago

0.2.49-next.1

1 year ago

0.2.49-next.0

1 year ago

0.2.48

1 year ago

0.2.47

1 year ago

0.2.46-next.2

1 year ago

0.2.46-next.1

1 year ago

0.2.47-next.0

1 year ago

0.2.47-next.2

1 year ago

0.2.47-next.1

1 year ago

0.2.46

1 year ago

0.2.46-next.0

1 year ago

0.2.44-next.4

1 year ago

0.2.44-next.1

1 year ago

0.2.43-next.1

2 years ago

0.2.44-next.0

1 year ago

0.2.44-next.3

1 year ago

0.2.44-next.2

1 year ago

0.2.43-next.0

2 years ago

0.2.45

1 year ago

0.2.44

1 year ago

0.2.43

1 year ago

0.2.42

2 years ago

0.2.42-next.2

2 years ago

0.2.42-next.1

2 years ago

0.2.42-next.0

2 years ago

0.2.41-next.0

2 years ago

0.2.41-next.1

2 years ago

0.2.41-next.2

2 years ago

0.2.41

2 years ago

0.2.38-next.1

2 years ago

0.2.38-next.0

2 years ago

0.2.39-next.1

2 years ago

0.2.39-next.0

2 years ago

0.2.39-next.3

2 years ago

0.2.39-next.2

2 years ago

0.2.40-next.1

2 years ago

0.2.40-next.0

2 years ago

0.2.40

2 years ago

0.2.39

2 years ago

0.2.38

2 years ago

0.2.37-next.2

2 years ago

0.2.37-next.0

2 years ago

0.2.37-next.1

2 years ago

0.2.37

2 years ago

0.2.34-next.0

2 years ago

0.2.36-next.1

2 years ago

0.2.36-next.0

2 years ago

0.2.36

2 years ago

0.2.35

2 years ago

0.2.34

2 years ago

0.2.33

2 years ago

0.2.27

2 years ago

0.2.26

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.30-next.0

2 years ago

0.2.30

2 years ago

0.2.32

2 years ago

0.2.31

2 years ago

0.2.29-next.0

2 years ago

0.2.28-next.0

2 years ago

0.2.29

2 years ago

0.2.28

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.21

3 years ago

0.2.20

3 years ago

0.2.19

3 years ago

0.2.18

3 years ago

0.2.17

3 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago