| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
UWS_CIA Newbie


Offline Joined: Dec 30, 2005 Posts: 49 Location: Canada, British Columbia
|
Posted: Mon Jan 02, 2006 8:05 am Post subject: File Managment System |
|
Automated Update Sytem
Example Idea
Start From Root -> /html dir example...
collect current files & dirs from "http://www.cpgnuke.com/cvs/html"
collect current files & dirs from "http://www.yourdomain.com/html"
compares both sides for missing/deprecated files...
scans both sets of files for version info...
displays only problem files
if file is deprecated from cvs -> give admin delete option
if file is missing or out of date -> give version #'s,
view link, annotate link, download link
And for site admins that are really lazy...
Automated update...
Scripted procedure does all of the above and rewrites the file with newest version...
when finished informs admin of changes for trouble shooting and code problems
UWS_CIA's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP Pro/2.2.0/5.0.18/5.1.1/9.1.0.7 CVS
|
|
| Back to top |
|
 |
Head-e Silver Supporter


Offline Joined: Apr 20, 2004 Posts: 937
|
Posted: Mon Jan 02, 2006 8:08 am Post subject: Re: File Managment System |
|
isn't this what a cvs clien with merge feature does?
There is a way to have your site automatically update to the latest cvs... search the forums
Head-e please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
UWS_CIA Newbie


Offline Joined: Dec 30, 2005 Posts: 49 Location: Canada, British Columbia
|
Posted: Mon Jan 02, 2006 8:38 am Post subject: Re: File Managment System |
|
Hmm, I thought so but wasn't sure, and i did do a search... didn't find anything...
I'll have to look again... Anyone with a link for this?
Funny thing is i figured out how to make my own 
Just have to finished coding a few little things...
UWS_CIA's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP Pro/2.2.0/5.0.18/5.1.1/9.1.0.7 CVS
|
|
| Back to top |
|
 |
Head-e Silver Supporter


Offline Joined: Apr 20, 2004 Posts: 937
|
Posted: Mon Jan 02, 2006 8:48 am Post subject: Re: File Managment System |
|
chmod you modules dir to allow write.. then go to admin.php?op=modules. you will see a cvs module checkout system
hmm the magic keywords 'running cvs' found several posts
www.dragonflycms.org/F...g+cvs.html
Head-e please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
Kuragari 500+ Posts Club


Offline Joined: Apr 25, 2005 Posts: 563 Location: AnimeEgo
|
Posted: Mon Jan 02, 2006 12:08 pm Post subject: Re: File Managment System |
|
There is also an entire section in the Wiki about running CVS, as well as a CVS forum
Kuragari's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / 1.3.34 / 4.1.14 / 4.4.1 / CVS
|
|
| Back to top |
|
 |
Andreas 500+ Posts Club


Offline Joined: Sep 03, 2004 Posts: 852 Location: Gävle, Sweden
|
Posted: Mon Jan 02, 2006 6:34 pm Post subject: Re: File Managment System |
|
UWS: If you get an easy way to do this up and running, please leave a post here and tell us about it! I, for one, would like an easy way to just what you suggested.
_________________ Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder
Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
UWS_CIA Newbie


Offline Joined: Dec 30, 2005 Posts: 49 Location: Canada, British Columbia
|
Posted: Mon Jan 02, 2006 8:00 pm Post subject: Re: File Managment System |
|
Head-e the cvs module checkout system seem to only deal with modules? am i wrong? i'm still going to look into this...
And i did find a post by djmaze about the cvs system and it seems to be an .exe
My System runs from the Admin control panel.
I just started playing with this last night so here it goes...
Auto Dir Tree Setup:
Option for members that run systems from home...
Dir/File local scan of all dirs and files from a "set" root dir
Manual Dir Tree Setup:
You'll Have to add all dirs and file to db
Option:
- Toggle On/Off Dir/Files not requiring scans
- Grabs all files current version #
I can currently grab current cvs files from the cvs view them in a text area.
But am not able to dir tree the cvs, so the scan will only work from dirs and files you have with in your scan / db
What i need is to be able to scan the cvs for just version #'s so that the system dosn't have to grab all the files...
So for now some work is required... cuase you need to know which files you want to update first...
With a WYSIWYG Editor, only to view file as PHP Code...
System line by line goes through each file with you...
This is for those that have modded core files.
System will only stop on line that are different...
Havn't decided on how to do this was think of using 3 Editors "Current local file", "CVS File", "Build File"
Once finished the build Editor can be written to file.
#2 Just update if you don't want to compare files
Any feed back would be nice...
UWS_CIA's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP Pro/2.2.0/5.0.18/5.1.1/9.1.0.7 CVS
|
|
| Back to top |
|
 |
Andreas 500+ Posts Club


Offline Joined: Sep 03, 2004 Posts: 852 Location: Gävle, Sweden
|
Posted: Mon Jan 02, 2006 9:10 pm Post subject: Re: File Managment System |
|
Currently sounds good and as you pointed out, I want something which I can run from the Administration, not as a program from my computer.
_________________ Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder
Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1
|
|
| Back to top |
|
 |
Kuragari 500+ Posts Club


Offline Joined: Apr 25, 2005 Posts: 563 Location: AnimeEgo
|
Posted: Mon Jan 02, 2006 9:11 pm Post subject: Re: File Managment System |
|
en.wikipedia.org/wiki/...ons_System
CVS is best used for updating dragonfly (and modules that provide it) if you want the latest in development.
From what I can tell, your module sounds like and admin interface to something that is already installed by default on most linux/unix systems (CVS).
Personaly I think if you don't know how to use CVS or ssh in order to gain access to CVS, then you shouldn't be using those files as they're not "stable"
As far as "Automated Update System" goes....all you need to do is upload the latest release, run the install.php and its done....not sure what this module would accomplish
Kuragari's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / 1.3.34 / 4.1.14 / 4.4.1 / CVS
|
|
| Back to top |
|
 |
UWS_CIA Newbie


Offline Joined: Dec 30, 2005 Posts: 49 Location: Canada, British Columbia
|
Posted: Mon Jan 02, 2006 9:22 pm Post subject: Re: File Managment System |
|
| Kuragari wrote: |
| most linux/unix systems (CVS). |
I don't run a linux/unix system
If there's a windows version please inform me...
| Kuragari wrote: |
| As far as "Automated Update System" goes....all you need to do is upload the latest release, run the install.php and its done....not sure what this module would accomplish |
Not so Automated at this point...
But this would help users with modded cores that need there code saved and not over written...
[Edit]...
Kuragari, thanxs for the winki link most informative
Cool learned more about CVS question... does this CMS support windows based CVS...
I'll have to read the whole CVS winki now... there goes my day...
UWS_CIA's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP Pro/2.2.0/5.0.18/5.1.1/9.1.0.7 CVS
|
|
| Back to top |
|
 |
Head-e Silver Supporter


Offline Joined: Apr 20, 2004 Posts: 937
|
Posted: Mon Jan 02, 2006 9:42 pm Post subject: Re: File Managment System |
|
tortise cvs with win merge is available for windows, and im sure there are others. Google.. it's your friend!
and why does it need to be automated? its not like the releases are flying out the door here (although it is faster than most cms's) is it to hard to just run a cvs update with winmerge and upload once a month or so.. just cause cvs is available it is not recomended for the average user, and very limited support unless people go through the proper channels of reporting bugs..
Head-e please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
xfsunoles XHTML Specialist


Offline Joined: Apr 30, 2004 Posts: 2502 Location: Melbourne, Florida
|
Posted: Mon Jan 02, 2006 9:52 pm Post subject: Re: File Managment System |
|
CVS Client in Windows - www.tortoisecvs.org/
You can Search Google of it but i recommend Tortoise CVS
xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
|
|
| Back to top |
|
 |
UWS_CIA Newbie


Offline Joined: Dec 30, 2005 Posts: 49 Location: Canada, British Columbia
|
Posted: Mon Jan 02, 2006 9:54 pm Post subject: Re: File Managment System |
|
| Head-e wrote: |
| Google.. it's your friend! |
Search engines only work when you know what your looking for...
CVS is new to me and i got to finished reading this winki link Kuragari gave me... before i'm going to be able to search for anything...
If someone could hook me up with a link to one of these windows cvs things/exe or whatever it is i need to run the CVS from windows so that i can play with it...
Is this like an FTP client? cuase i can design those too.
Hate learning new things, lol... I feel retared...
Still reading winki...
When i'm done i'll post back with uber god like knowledge.
UWS_CIA's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP Pro/2.2.0/5.0.18/5.1.1/9.1.0.7 CVS
|
|
| Back to top |
|
 |
xfsunoles XHTML Specialist


Offline Joined: Apr 30, 2004 Posts: 2502 Location: Melbourne, Florida
|
Posted: Mon Jan 02, 2006 10:03 pm Post subject: Re: File Managment System |
|
| UWS_CIA wrote: |
| Head-e wrote: |
| Google.. it's your friend! |
Search engines only work when you know what your looking for...
CVS is new to me and i got to finished reading this winki link Kuragari gave me... before i'm going to be able to search for anything...
If someone could hook me up with a link to one of these windows cvs things/exe or whatever it is i need to run the CVS from windows so that i can play with it...
Is this like an FTP client? cuase i can design those too.
Hate learning new things, lol... I feel retared...
Still reading winki...
When i'm done i'll post back with uber god like knowledge. |
i have you a link to it. CVS Client isn't FTP Client.
xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
|
|
| Back to top |
|
 |
UWS_CIA Newbie


Offline Joined: Dec 30, 2005 Posts: 49 Location: Canada, British Columbia
|
Posted: Mon Jan 02, 2006 10:11 pm Post subject: Re: File Managment System |
|
Thanxs, was reading the winki and got bored...
You edited your post...
I had already found it and installed it...
Just booted back up from restart...
[Edit]...
K, now i feel like a 5 year old that just got a stick of dynomite for my b-day... don't know what to do with it... lol
this TortoiseCVS program i'm lost in never never land...
UWS_CIA's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP Pro/2.2.0/5.0.18/5.1.1/9.1.0.7 CVS
|
|
| Back to top |
|
 |
|
|