Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to correctly update or remove add-on (missing #ddev-generated) #34

Closed
rfay opened this issue May 9, 2024 · 0 comments
Closed

Comments

@rfay
Copy link
Member

rfay commented May 9, 2024

Any add-on should be able to be updated or removed without doing anything but ddev get ... or ddev get --remove <addon>

However, lots of artifacts have been added to this that don't have the #ddev-generated comment in them, showing that it's safe to remove the file or update it.

Since there are so very many files, this may be a bit of a pain, but DDEV can't update or remove unless it knows that the files haven't been altered.

Here's what currently happens in this situation:

`ddev get` with `ddev get --remove`
 ddev get ddev/ddev-solr
Installing ddev/ddev-solr:0.4.0
Downloading https://api.github.com/repos/ddev/ddev-solr/tarball/0.4.0
0.4.0_1022620279.tar.gz 130.09 KiB / ? [-------------=----------------------------------------------------------] 1332.11% 1m1s

Installing project-level components:
👍 commands/solr/solr
👍 commands/solr/solr-zk
👍 docker-compose.solr.yaml
👍 solr/configsets/.gitmanaged
👍 solr/configsets/README.md
👍 solr/configsets/techproducts/conf/_rest_managed.json
👍 solr/configsets/techproducts/conf/_schema_analysis_stopwords_english.json
👍 solr/configsets/techproducts/conf/_schema_analysis_synonyms_english.json
👍 solr/configsets/techproducts/conf/currency.xml
👍 solr/configsets/techproducts/conf/elevate.xml
👍 solr/configsets/techproducts/conf/lang/contractions_ca.txt
👍 solr/configsets/techproducts/conf/lang/contractions_fr.txt
👍 solr/configsets/techproducts/conf/lang/contractions_ga.txt
👍 solr/configsets/techproducts/conf/lang/contractions_it.txt
👍 solr/configsets/techproducts/conf/lang/hyphenations_ga.txt
👍 solr/configsets/techproducts/conf/lang/stemdict_nl.txt
👍 solr/configsets/techproducts/conf/lang/stoptags_ja.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ar.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_bg.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ca.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ckb.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_cz.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_da.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_de.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_el.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_en.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_es.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_et.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_eu.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_fa.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_fi.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_fr.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ga.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_gl.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_hi.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_hu.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_hy.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_id.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_it.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ja.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_lv.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_nl.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_no.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_pt.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ro.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_ru.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_sv.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_th.txt
👍 solr/configsets/techproducts/conf/lang/stopwords_tr.txt
#ddev-
👍 solr/configsets/techproducts/conf/lang/userdict_ja.txt
👍 solr/configsets/techproducts/conf/managed-schema.xml
👍 solr/configsets/techproducts/conf/mapping-FoldToASCII.txt
👍 solr/configsets/techproducts/conf/mapping-ISOLatin1Accent.txt
👍 solr/configsets/techproducts/conf/params.json
👍 solr/configsets/techproducts/conf/protwords.txt
👍 solr/configsets/techproducts/conf/solrconfig.xml
👍 solr/configsets/techproducts/conf/spellings.txt
👍 solr/configsets/techproducts/conf/stopwords.txt
👍 solr/configsets/techproducts/conf/synonyms.txt
👍 solr/configsets/techproducts/conf/update-script.js
👍 solr/configsets/techproducts/conf/xslt/example.xsl
👍 solr/configsets/techproducts/conf/xslt/example_atom.xsl
👍 solr/configsets/techproducts/conf/xslt/example_rss.xsl
👍 solr/configsets/techproducts/conf/xslt/luke.xsl
👍 solr/configsets/techproducts/conf/xslt/updateXml.xsl
👍 solr/lib/.gitmanaged
👍 solr/lib/README.md
👍 solr/security.json

Installed DDEV add-on ddev/ddev-solr, use `ddev restart` to enable.
Please read instructions for this add-on at the source repo at
https://github.com/ddev/ddev-solr
Please file issues and create pull requests there to improve it.
Installed solr:0.4.0 from ddev/ddev-solr
rfay@rfay-tag1-m1:~/workspace/d10$ ddev get --remove solr
Unwilling to remove '/Users/rfay/workspace/d10/.ddev/solr' because it does not have #ddev-generated in it: signature was not found in file /Users/rfay/workspace/d10/.ddev/solr/configsets/.gitmanaged; you can manually delete it if it is safe to delete.
Removed add-on solr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant