mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
chore: troubleshoot the 'already subscribed to a feed' issue
This commit is contained in:
@@ -26,6 +26,10 @@ jq --arg REGION ${AWS_REGION} '.spec.template.spec.containers[]?.env? += [{name:
|
|||||||
|
|
||||||
# Delete keys from objects.
|
# Delete keys from objects.
|
||||||
jq 'del(.items[].spec.clusterIP)' /tmp/service.kube.json
|
jq 'del(.items[].spec.clusterIP)' /tmp/service.kube.json
|
||||||
|
jq 'del(.country, .number, .language)' …
|
||||||
|
# Remember ranges are **exclusive** of the end index.
|
||||||
|
jq 'del(.[0,1,2])' …
|
||||||
|
jq 'del(.[0:3])' …
|
||||||
|
|
||||||
# Print objects as 'key [space] "value"' pairs.
|
# Print objects as 'key [space] "value"' pairs.
|
||||||
jq -r 'to_entries[] | "\(.key) \"\(.value)\""' 'file.json'
|
jq -r 'to_entries[] | "\(.key) \"\(.value)\""' 'file.json'
|
||||||
@@ -106,6 +110,8 @@ All the references in the [further readings] section, plus the following:
|
|||||||
- [Filter objects list with regex]
|
- [Filter objects list with regex]
|
||||||
- [Select multiple conditions]
|
- [Select multiple conditions]
|
||||||
- [Change multiple values at once]
|
- [Change multiple values at once]
|
||||||
|
- [jq Select range]
|
||||||
|
- [Deleting multiple keys at once with jq]
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
References
|
References
|
||||||
@@ -116,5 +122,7 @@ All the references in the [further readings] section, plus the following:
|
|||||||
|
|
||||||
<!-- Others -->
|
<!-- Others -->
|
||||||
[change multiple values at once]: https://stackoverflow.com/questions/47355901/jq-change-multiple-values#47357956
|
[change multiple values at once]: https://stackoverflow.com/questions/47355901/jq-change-multiple-values#47357956
|
||||||
|
[deleting multiple keys at once with jq]: https://stackoverflow.com/questions/36227245/deleting-multiple-keys-at-once-with-jq
|
||||||
[filter objects list with regex]: https://til.hashrocket.com/posts/uv0bjiokwk-use-jq-to-filter-objects-list-with-regex
|
[filter objects list with regex]: https://til.hashrocket.com/posts/uv0bjiokwk-use-jq-to-filter-objects-list-with-regex
|
||||||
|
[jq select range]: https://stackoverflow.com/questions/45548604/jq-select-range
|
||||||
[select multiple conditions]: https://stackoverflow.com/questions/33057420/jq-select-multiple-conditions#33059058
|
[select multiple conditions]: https://stackoverflow.com/questions/33057420/jq-select-multiple-conditions#33059058
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
1. [Create a dummy account](#create-a-dummy-account)
|
1. [Create a dummy account](#create-a-dummy-account)
|
||||||
1. [Convert an account's message store type from one file per folder (_mbox_) to one file per message (_maildir_)](#convert-an-accounts-message-store-type-from-one-file-per-folder-mbox-to-one-file-per-message-maildir)
|
1. [Convert an account's message store type from one file per folder (_mbox_) to one file per message (_maildir_)](#convert-an-accounts-message-store-type-from-one-file-per-folder-mbox-to-one-file-per-message-maildir)
|
||||||
1. [Rebuild the Global Database for a Profile](#rebuild-the-global-database-for-a-profile)
|
1. [Rebuild the Global Database for a Profile](#rebuild-the-global-database-for-a-profile)
|
||||||
|
1. [You are already subscribed to this feed](#you-are-already-subscribed-to-this-feed)
|
||||||
1. [Further readings](#further-readings)
|
1. [Further readings](#further-readings)
|
||||||
1. [Sources](#sources)
|
1. [Sources](#sources)
|
||||||
|
|
||||||
@@ -144,6 +145,17 @@ Depending on the number of messages, it might take some time for the indexing to
|
|||||||
|
|
||||||
The indexing progress can be monitored through _Tools_ > _Activity Manager_.
|
The indexing progress can be monitored through _Tools_ > _Activity Manager_.
|
||||||
|
|
||||||
|
### You are already subscribed to this feed
|
||||||
|
|
||||||
|
The feed list file is still containing the URL of the feed one is trying to add.
|
||||||
|
|
||||||
|
Remove the feed object from the `'Mail/Blog & News Feeds/feeds.json'` file in your profile:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Just examples. Check what the command does.
|
||||||
|
jq 'del(.[1:4])' 'Mail/Blog & News Feeds/feeds.json'
|
||||||
|
```
|
||||||
|
|
||||||
## Further readings
|
## Further readings
|
||||||
|
|
||||||
- [Betterbird]
|
- [Betterbird]
|
||||||
|
|||||||
Reference in New Issue
Block a user