Commit Graph

10479 Commits

Author SHA1 Message Date
Adam Harvey acc1da48cd Make codefence a diff 2021-02-19 16:03:20 -05:00
Adam Harvey b3126588dc Add note about sidebar 2021-02-19 16:02:08 -05:00
Fredrik Adelöw 6c09312dca Merge pull request #4580 from johnnyiller/techradar/issue-4493-description-popup
tech-radar: add description dialog box
2021-02-19 16:45:07 +01:00
Fredrik Adelöw 385cb44b3f Merge pull request #4586 from egnwd/feat/org-themed-ownership-card
Org: Themed ownership card
2021-02-19 15:48:18 +01:00
Fredrik Adelöw 2fe1588ae8 Merge pull request #4598 from lndbrg/patch-1
Add acast to adopters
2021-02-19 15:12:05 +01:00
Patrik Oldsberg 4a15d5da5e Merge pull request #4599 from backstage/rugvip/clarify
app-backend: clarify schema serialization troubleshooting steps
2021-02-19 14:28:57 +01:00
Patrik Oldsberg 1c06cb3126 app-backend: clarify schema serialization troubleshooting steps 2021-02-19 12:58:41 +01:00
Olle Lundberg 56544eac81 Add Olle and Lundberg to vocab 2021-02-19 12:43:04 +01:00
Olle Lundberg 085736eca3 Sort vocabulary file 2021-02-19 12:43:04 +01:00
Olle Lundberg 1a8e19486f Add acast to adopters 2021-02-19 12:43:04 +01:00
Fredrik Adelöw c368ae7eef Merge pull request #4595 from lndbrg/master
Recommend a safer find command
2021-02-19 11:50:31 +01:00
Fredrik Adelöw 82a6292e19 Merge pull request #4593 from backstage/dependabot/npm_and_yarn/roadiehq/backstage-plugin-github-pull-requests-0.7.6
chore(deps): bump @roadiehq/backstage-plugin-github-pull-requests from 0.6.3 to 0.7.6
2021-02-19 11:32:22 +01:00
Himanshu Mishra 75b63e92b0 Merge pull request #4587 from backstage/orkohunter/techdocs-fix-publishers-on-windows 2021-02-19 11:29:06 +01:00
Oliver Sand d8bce7cdc7 Merge pull request #4571 from SDA-SE/feat/domain-owner
Display the owner of the domain on the domain card
2021-02-19 11:07:09 +01:00
Himanshu Mishra 5851bd5d2b TechDocs: Use expect.assertions to make sure the error messages are checked 2021-02-19 11:06:27 +01:00
Himanshu Mishra 346a0feecf TechDocs: Fallback to ENTITY_DEFAULT_NAMESPACE when namespace is undefined 2021-02-19 10:58:53 +01:00
dependabot[bot] 798cbf6336 chore(deps): bump @roadiehq/backstage-plugin-github-pull-requests
Bumps [@roadiehq/backstage-plugin-github-pull-requests](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests) from 0.6.3 to 0.7.6.
- [Release notes](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests/releases)
- [Commits](https://github.com/RoadieHQ/backstage-plugin-github-pull-requests/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 09:51:31 +00:00
Johan Haals fe2a804742 Merge pull request #4547 from backstage/mob/scaffolder-frontend
Stateless scaffolding
2021-02-19 10:39:15 +01:00
Fredrik Adelöw dedee41f57 Merge pull request #4572 from backstage/freben/attr
got rid of some attr and cleaned up a bit in techdocs schema
2021-02-19 10:10:04 +01:00
Fredrik Adelöw 13d3eb6087 Merge pull request #4578 from backstage/freben/yarn-again
yarn.lock update
2021-02-19 10:08:48 +01:00
Johan Haals 10e08f9adb Merge branch 'master' into mob/scaffolder-frontend 2021-02-19 10:01:10 +01:00
Oliver Sand 347137ccf2 Display the owner of a domain on the domain card
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 09:57:47 +01:00
Oliver Sand 9615e68fb6 Forward link styling of EntityRefLink and EnriryRefLinks into the underling Link
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 09:57:47 +01:00
Oliver Sand 49f9b7346d Rename type of ItemCard to subtitle and allow to pass react nodes
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-19 09:57:47 +01:00
Olle Lundberg 79f7461709 Recommend a safer find command
Piping find to xargs is dangerous as xargs will interpret any characters
defined in $IFS (Input Field Separator), usually <space><tab><newline>,
as separators in its input. This might lead to unintented operations
on files if any of the input to xargs containts any of the characters
defined in $IFS, most often this happens if a file contains a space in
its name. The safest way to execute a find | xargs is to force find to
separate its output with null characters and tell xargs to read null
characters as the delimiter AND also tell xargs to put the argument to
the command its supposed to run in quotation marks:
   `find ... -print0 | xargs -I {} -0 rm -rf "{}"`
When running with GNU find you most likely also want to add
--no-run-if-empty or -r for short:
   `find ... -print0 | xargs -I {} -0 --no-run-if-empty rm -rf "{}"`
This stops the invocation of xargs if there is no input on stdin, this
is however not portable and will break on BSD/macOS, the portability is
not a concern in this case though as the find | xargs happens in docker.

As you can see this gets unwieldly fast and despite using every
precaution, it's still not safe. When xargs is run with -0 to treat null
characters as the delimiter for its input and a file has a null
character in its name, xargs will treat the null character in the file
name as a delimiter and xargs will exhibit the same behaviour as it did
with spaces in file names.

Ahhh, isn't Unix wonderful? Loose APIs defined as untyped strings...

There is a salvation though! Most find xargs pipes are unnecessary and
can be replaced with built in functionality in find, the -exec flag.
Now, -exec comes in 2 flavours, one that is terminated with \; (the most
commonly used) and one terminated with \+ (the one most people actually
want to use). \; spawns a new invocation per found entry, thus creating
some process creation overhead. \+ instead concatenates the found
entries as arguments to the program we want to run, resulting in less
overhead and usually a faster execution.
Since find is smart enough to be aware of what constitutes an entry
(i.e it doesn't treat the entries as just a bunch of random strings to
read from stdin) it makes the whole invocation of the program, rm in
this case, safe even if it contains characters defines in $IFS or null
characters.

And with this overly elaborate commit message I bring you this 1 line
change.
2021-02-19 09:57:32 +01:00
Fredrik Adelöw a06db97a2d Merge pull request #4479 from OscarDHdz/search-filter-for-templates
Search and Filter for Templates
2021-02-19 09:38:23 +01:00
Johan Haals c1c3184b38 create-app: add catalog-client dependency 2021-02-19 09:35:14 +01:00
Johan Haals c352ed59b5 Merge branch 'master' into mob/scaffolder-frontend 2021-02-19 09:26:51 +01:00
Jeff Durand 9abacc8ebc need to export type as type 2021-02-19 00:10:33 +00:00
Jeff Durand 6262a56614 fixing based on review 2021-02-19 00:04:34 +00:00
Himanshu Mishra 1520308958 TechDocs/GCS: Improve test coverage by testing other two methods 2021-02-18 23:19:33 +01:00
Himanshu Mishra b032111f37 TechDocs: Clarify differences in sourceFile Path among publishers 2021-02-18 22:32:43 +01:00
Himanshu Mishra 1e4ddd71da TechDocs: Add changeset about publisher fix on windows 2021-02-18 22:21:38 +01:00
Himanshu Mishra 0084248dc0 TechDocs/Azure: mockFs inserts unexpected characters in windows path 2021-02-18 22:19:29 +01:00
Himanshu Mishra b0fc3549e6 TechDocs/Azure: Update mock library tests to work with Windows 2021-02-18 22:16:48 +01:00
Elliot Greenwood e3bc5aad70 Add change set
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-18 21:05:25 +00:00
Elliot Greenwood b25530b34b Add storybook theming to local theme
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-18 21:05:24 +00:00
Elliot Greenwood 4aa9b100fb Allow for theming inside the OwnershipCard
Signed-off-by: Elliot Greenwood <hello@elliotgreenwood.co.uk>
2021-02-18 21:05:24 +00:00
Himanshu Mishra 837ce612de TechDocs/Publishers: Use path.normalize 2021-02-18 21:59:02 +01:00
Himanshu Mishra 6c36689039 TechDocs/Azure: Fix publisher to work with Windows file paths 2021-02-18 21:58:44 +01:00
Himanshu Mishra 9ff646b6a8 TechDocs/GCS: Use async/await and add more test 2021-02-18 21:33:53 +01:00
Adam Harvey cf9a229a3e Merge pull request #4565 from adamdmharvey/doco-updates
docs: Update project structure and design
2021-02-18 15:05:51 -05:00
Himanshu Mishra 4b3500021c TechDocs/GCS: Fix publisher to work with Windows file path 2021-02-18 20:55:35 +01:00
Himanshu Mishra 1966cc1802 TechDocs: AWS Publisher - fix upload path to be OS agnostic 2021-02-18 20:03:47 +01:00
Fredrik Adelöw 3a940a7d0b Merge pull request #4372 from kiranpatel11/master
feat(CatalogTable): truncate long description with ellipsis and tooltip
2021-02-18 19:28:47 +01:00
Jeff Durand 5f5c98e2ae updated button to learn more based on reviewer suggestions 2021-02-18 17:54:06 +00:00
Fredrik Adelöw 8282af801b Merge pull request #4577 from backstage/freben-patch-1
Update kafka package.json to include the config schema
2021-02-18 18:16:31 +01:00
Jeff Durand 9f2b3a26e9 added changeset description 2021-02-18 16:47:33 +00:00
Jeff Durand 862595ce50 tech-radar: add description dialog box 2021-02-18 16:32:39 +00:00
Fredrik Adelöw 669b497fd2 yarn.lock update 2021-02-18 15:57:03 +01:00