Re: [Radiant] Unistall extensions

2009-02-09 Thread N. Turnage

Sean Cribbs wrote:

Two things -

1) You can typically use `script/extension uninstall extension_name` 
to uninstall an extension - although it may need to be on the registry.
I have never done it that way, so I didn't want to recommend it. But, 
thanks for the alternative method.
2) In 0.7, the 'extension_meta' table is no longer used.  Once you 
have migrated any extension, all extension migrations are recorded in 
the 'schema_migrations' table.
That is good news. That should make it easier to track down problems 
when a migration goes awry. Thanks.




// Nate
___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Unistall extensions

2009-02-09 Thread Sean Cribbs

Two things -

1) You can typically use `script/extension uninstall extension_name` to 
uninstall an extension - although it may need to be on the registry.
2) In 0.7, the 'extension_meta' table is no longer used.  Once you have 
migrated any extension, all extension migrations are recorded in the 
'schema_migrations' table.


Sean

N. Turnage wrote:

Chaim Kirby wrote:

If I were to phrase the question more generically: How does one remove
an extension they are no longer interested in having installed?  Is
there a process to do it?  As a note, I have been using the git clone
_extension_ into vendor/extensions, migrate, update extension management
paradigm.
  


You would cd to your project then do the following:

1) rake radiant:extensions:name_of_extension:migrate VERSION=0

2) rm -rf vendor/extensions/name_of_extension

3) check your "extension_meta" table for an entry for the extension 
and delete that record


4) That's it.



~Nate

___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


RE: [Radiant] Unistall extensions

2009-02-09 Thread Kirby, Chaim
Ok, Thanks!

Chaim Kirby
[email protected]

From: [email protected] [[email protected]] On Behalf 
Of N. Turnage [[email protected]]
Sent: Monday, February 09, 2009 7:57 PM
To: [email protected]
Subject: Re: [Radiant] Unistall extensions

Chaim Kirby wrote:
> If I were to phrase the question more generically: How does one remove
> an extension they are no longer interested in having installed?  Is
> there a process to do it?  As a note, I have been using the git clone
> _extension_ into vendor/extensions, migrate, update extension management
> paradigm.
>

You would cd to your project then do the following:

1) rake radiant:extensions:name_of_extension:migrate VERSION=0

2) rm -rf vendor/extensions/name_of_extension

3) check your "extension_meta" table for an entry for the extension and
delete that record

4) That's it.



~Nate

___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Unistall extensions

2009-02-09 Thread N. Turnage

Chaim Kirby wrote:

If I were to phrase the question more generically: How does one remove
an extension they are no longer interested in having installed?  Is
there a process to do it?  As a note, I have been using the git clone
_extension_ into vendor/extensions, migrate, update extension management
paradigm.
  


You would cd to your project then do the following:

1) rake radiant:extensions:name_of_extension:migrate VERSION=0

2) rm -rf vendor/extensions/name_of_extension

3) check your "extension_meta" table for an entry for the extension and 
delete that record


4) That's it.



~Nate

___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Unistall extensions

2009-02-09 Thread Chaim Kirby
If I were to phrase the question more generically: How does one remove
an extension they are no longer interested in having installed?  Is
there a process to do it?  As a note, I have been using the git clone
_extension_ into vendor/extensions, migrate, update extension management
paradigm.

Thanks,
Chaim Kirby
[email protected]

N. Turnage wrote:
> Chaim Kirby wrote:
>> I am having trouble with the copy_move extension under 0.6.9. I now know
>> that I need to use an older version of the extension. How do I go about
>> uninstalling the extension that I have currently installed so I can
>> switch to the correct version?
>>   
> 
> 
> You don't have to remove the extension, you just need to use an earlier 
> commit. This commit works for me with a site running 0.6.9:
> 79ee39addf4adabcf28fe77a8cb9cbf2338feda8
> 
> The process for using an older commit is different depending how you 
> manage your project. If you are managing your project with git, you can 
> add the extension as a submodule, and checkout the commit you want. If 
> you are using something else to manage your project you can create your 
> own local branch. I don't have the time at the moment to document the 
> process for each right now, but you can find info on adding submodules 
> to a project and on using local branches on the interweb.
> 
> Also, you could look in the mailing list archives. In late December and 
> early January I went back and forth with Sean (and somebody I cannot 
> remember at the moment) about setting up a project with git and use 
> submodules. If you have any more specific questions I'll do what I can 
> to help out.
> 
> 
> ~Nate
> ___
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> 


___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Unistall extensions

2009-02-09 Thread N. Turnage

Chaim Kirby wrote:

I am having trouble with the copy_move extension under 0.6.9. I now know
that I need to use an older version of the extension. How do I go about
uninstalling the extension that I have currently installed so I can
switch to the correct version?
  



You don't have to remove the extension, you just need to use an earlier 
commit. This commit works for me with a site running 0.6.9:

79ee39addf4adabcf28fe77a8cb9cbf2338feda8

The process for using an older commit is different depending how you 
manage your project. If you are managing your project with git, you can 
add the extension as a submodule, and checkout the commit you want. If 
you are using something else to manage your project you can create your 
own local branch. I don't have the time at the moment to document the 
process for each right now, but you can find info on adding submodules 
to a project and on using local branches on the interweb.


Also, you could look in the mailing list archives. In late December and 
early January I went back and forth with Sean (and somebody I cannot 
remember at the moment) about setting up a project with git and use 
submodules. If you have any more specific questions I'll do what I can 
to help out.



~Nate
___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Unistall extensions

2009-02-09 Thread Chaim Kirby
I am having trouble with the copy_move extension under 0.6.9. I now know
that I need to use an older version of the extension. How do I go about
uninstalling the extension that I have currently installed so I can
switch to the correct version?

Thanks,
Chaim Kirby
[email protected]

___
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant