Niklas Aronsson
b7436743cb
GerritUrlReader added that implements "readUrl"
...
The url used by "readUrl" is supposed to be human friendly url that can
be opened in the browser. This makes the Gerrit configuration a bit more
complicated since there is no built in support to browse a git in Gerrit.
Instead this is handled by separate services that can be deployed at a
different host then the Gerrit instance. This implementation supports
Gitiles as the code browser tool. The dependency to Gitiles is optional,
it is perfectly possible to integrate Gerrit with Backstage but it will
not be possible to open the "human readable links" found in different
places of the Backstage gui.
A new optional config field has been added to Gerrit integration where
the base url of the Gitiles installation can be set. This is needed to
create a working link to some git content.
A new "url reader" has been added that reads content from Gerrit, as of
now only "readUrl" is implemented ("readTree" will soon follow). The
format of url is the format used by Gitiles. Gerrit's "readUrl" is
pretty simple, it's a single API call to Gerrit that returns the content
base64 encoded.
What is a bit different to other "urlReaders" is the predicate
function in that is not matching the host of the Gerrrit API. The "host"
variable in the config is the Gerrit host. The address where Gitiles is
installed may be on the same host but it could be on a separate host.
For example a Gerrit instance could be hosted on
"gerrit-review.company.com" but the repos could be browsable on a
separate host, e.g. "gerrit.company.com" and the human readable URL would
then not point to the API host.
Signed-off-by: Niklas Aronsson <niklasar@axis.com >
2022-03-24 14:43:39 +01:00
Johan Haals
26b0f39d88
add label
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-24 14:13:33 +01:00
Johan Haals
fe8ac3595c
actions: add renovate
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-24 13:27:13 +01:00
Patrik Oldsberg
918d695c62
workflows: make sure no existing feedback generate script exists
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-24 00:17:04 +01:00
Patrik Oldsberg
8943792a3f
workflows: avoid running changeset feedback on bot PRs altogether
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 23:59:08 +01:00
Patrik Oldsberg
e704667f01
workflows: switch changeset feedback to pull_request_target
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 23:59:08 +01:00
Patrik Oldsberg
a0941d5fc3
workflows: switch changeset feedback back to service account
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 15:23:45 +01:00
Patrik Oldsberg
7cdc9ecc07
workflows: make changeset feedback diff only PR contents
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 12:43:34 +01:00
Patrik Oldsberg
70181cddd5
workflows: skip changeset feedback back to bot account
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 12:43:03 +01:00
Patrik Oldsberg
11045d68a9
workflows: changeset feedback automation tweaks
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 11:03:10 +01:00
Patrik Oldsberg
48cf43b2c4
workflows/automate_changeset_feedback: avoid forks + comment on script download
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-22 14:58:24 +01:00
Patrik Oldsberg
221c979a23
workflows: add new changeset feedback automation
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-22 14:49:05 +01:00
Johan Haals
0d217cbc02
format
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-17 13:58:51 +01:00
Johan Haals
316a3a682a
drop asterisk
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-17 13:58:14 +01:00
Johan Haals
678390db83
actions: label GH issues automagically
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-17 13:40:02 +01:00
Fredrik Adelöw
6bd928a4aa
vale and prettier
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-17 09:36:16 +01:00
Vincenzo Scamporlino
fb99119e90
Blog post: Backstage turns two
...
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev >
2022-03-15 20:54:37 +01:00
Eric Peterson
90f145fbce
Merge pull request #9944 from realandersn/andersn/fix-techdocs-sidebar-scroll
...
[Techdocs] fix sidebar scroll
2022-03-14 14:40:44 +01:00
Fredrik Adelöw
fc0ff39ece
Merge pull request #10038 from anicke/gerrit
...
Added a ScmIntegration for Gerrit
2022-03-14 13:39:47 +01:00
Patrik Oldsberg
224441d0f9
codemods: inline core-imports table + fix createApp
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-11 11:16:58 +01:00
Fredrik Adelöw
b48d1cdf85
Merge pull request #10062 from backstage/freben/freben/task-cron-source
...
Add cron support to `@backstage/backend-tasks`
2022-03-10 11:16:04 +01:00
Fredrik Adelöw
d4934e19b1
move gitlab to a separate package too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-10 10:45:54 +01:00
Fredrik Adelöw
704c8b2c05
Merge pull request #10092 from backstage/freben/separate-bitbucket
...
move out bitbucket into a separate module too
2022-03-10 10:44:01 +01:00
Fredrik Adelöw
60df8a58b4
change to nested object for cron
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-10 10:24:39 +01:00
Patrik Oldsberg
c882011def
workflows: fix nightly releases of techdocs/cli
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-10 09:50:02 +01:00
Fredrik Adelöw
47a5ae5dd2
move out bitbucket into a separate module too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-10 09:34:27 +01:00
Niklas Aronsson
02c84fb32f
Added "Gerrit" to "vocab.txt"
...
Signed-off-by: Niklas Aronsson <niklasar@axis.com >
2022-03-10 08:15:12 +01:00
Julio Zynger
7ef026339d
Add Periskop plugin
...
Signed-off-by: Julio Zynger <julio.zynger@soundcloud.com >
2022-03-07 15:05:32 +01:00
Fredrik Adelöw
402e94f590
add lowercase gitlab to make vale less idiotic
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-07 13:17:13 +01:00
Patrik Oldsberg
de1e46c9b6
workflows: switch to using repo commands
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-05 17:12:12 +01:00
Eric Peterson
c938e0d61d
Merge pull request #9952 from backstage/iameap/mv-techdocs-search-common
2022-03-04 20:06:39 +01:00
Vincenzo Scamporlino
1c0ad5cd85
Merge pull request #9978 from backstage/vinzscam/fix-upgrade-helper
...
Trigger upgrade helper release once
2022-03-04 18:14:18 +01:00
Vincenzo Scamporlino
3d31da90c9
Upgrade helper blog post ( #9953 )
...
* Upgrade helper blog post
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev >
* Whitelist ecco
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev >
2022-03-04 15:40:35 +01:00
Vincenzo Scamporlino
50e69335c7
Trigger upgrade helper release once
...
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev >
2022-03-04 11:24:12 +01:00
Eric Peterson
91bf1e6c1a
Use @backstage/plugin-techdocs-node instead of @backstage/techdocs-common
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-04 09:54:19 +01:00
Anders Näsman
07c1ca87bb
add scrollbar to vocab
...
Signed-off-by: Anders Näsman <andersn@spotify.com >
2022-03-03 13:13:00 +01:00
Patrik Oldsberg
358ebcf352
Merge pull request #9914 from backstage/rugvip/vocab
...
vocab: removed old code of conduct words
2022-03-02 18:54:23 +01:00
Patrik Oldsberg
fc8b84aa2c
vocab: removed old code of conduct words
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-02 18:22:34 +01:00
Eric Peterson
022507c860
Document stream-based search
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-02 17:29:18 +01:00
Fredrik Adelöw
6136f11e6e
clean up when workflows are triggered
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-25 09:14:00 +01:00
blam
dc35bd79ea
chore: updating the verify workflow too
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 16:42:21 +01:00
blam
07abd18f3d
chore: try this fix?
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 16:26:57 +01:00
blam
7c52c943cb
chore: clean cache
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 16:07:08 +01:00
blam
22747ec473
chore: fix prettier
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 15:52:51 +01:00
blam
960a9604b9
removing nodegyp bump
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 15:48:46 +01:00
blam
4ad2d7104c
chore: force paricular builds on windows
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 15:47:07 +01:00
blam
53ab4cb558
run when workflow is changed
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 15:21:24 +01:00
blam
cf82fb1c44
try and bump node-gyp
...
Signed-off-by: blam <ben@blam.sh >
2022-02-24 15:12:44 +01:00
Fredrik Adelöw
78e1bb7fd1
oh vale, how i love thee
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-23 10:27:04 +01:00
Fredrik Adelöw
b212bed480
Merge pull request #9605 from moltenice-forks/airbrake-connect
...
Make the Airbrake plugin useable
2022-02-21 19:49:03 +01:00