New features Req: Lets Make this a great application

Multiboot USB / DVD Builder with SARDU
In this section is permitted only the English language
Forum rules
In this section is permitted only the English language

Re: New features Req: Lets Make this a great application

Postby infringer » September 11th, 2011, 6:48 am

Objectives:

- Create a skeleton file with all config info on it skeleton.txt
- Get all file names of the iso file type in the current directory store them in a text file currentiso.txt
- Create a text file with iso's that are supported in this thread viewtopic.php?f=2&t=252 supportediso.txt
- Create a seperate config texts for each supported iso Example ubuntu10.1.iso.txt
- If there is a match then add the text from the corresponding ISO.txt to the skeleton.txt and keep adding all matches till finished
- Save skeleton.txt as extra.cfg
- Then Exit Gracefully with everything automated

Now if coding were as easy as english I would be done! lol!

If anyone has any suggestions to make this easier go right ahead....

I wonder if I could make 3 arrays lets say currentiso and supportediso and equaliso

Then I could check each supportediso array each string keeping it static and compare with currentiso array if they are equal I could add them to equal iso array.
Once equaliso array is built then I could load each string from equal iso + iso.txt and add the information from this file to skeleton.txt then save it.

It may be easier to use mysql or MS SQL to do this???

I need some suggestions here on the easiest way to accomplish what I would like to do here or what is possible in C#

Please do help me get started down some preferred path and give me some good reasons why to follow that path.

Thanks -infringer-

STATUS OF SARDUX objectives now started
infringer
 
Posts: 12
Joined: September 4th, 2011, 4:25 pm

Re: New features Req: Lets Make this a great application

Postby infringer » September 11th, 2011, 4:15 pm

On my first post I MENT to say EHCI referencing GPT GUID type partition tables by the way just for correction
infringer
 
Posts: 12
Joined: September 4th, 2011, 4:25 pm

Re: New features Req: Lets Make this a great application

Postby davidecosta » September 11th, 2011, 5:51 pm

infringer wrote:I would like to support extras actually it would be rather interesting to do but I need to figure out where to start...

What are the specifics for extra.cfg?

Is the "#" operator in the cfg to comment something out or remove it without removing it?

Where do the extras need to start? I am guessing it is here
#-> EDIT HERE <-
This is where you add the extras data correct?
#-> EDIT HERE <-

If so there are a lot of objectives to cover.
Need to scan current directory for all iso file names compare each file name to a list of file names if the names are close enough then add the data to the cfg with the exact name of the iso this will be a far more complex solution then I had imagined originally but still it is possible.



Yes is correct. this is the first management of extra.

infringer wrote:I took care of some of the easy stuff just drop this file in Sardu\ISO\Extra

http://www.filedropper.com/sardux

This is just a basic start as I said I need to create objectives and research how to accomplish them with code I will be using C# to develop this application.

I may need some help here cause I am a complete newbie to coding anything. So anyone willing to help please do!


Unhandled exception :D. my site is www.sarducd.it :D


infringer wrote:notice that I have the link text wrong currently

Sorry about that the hyperlink that it opens is correct though I forgot the cd on the link text oh well in a hurry I guess I will update it later.

Of course the generate button does not work currently this is what I will need to dedicate some time now for now you are stuck with the manual edit.


??? I don't undestrand.

.....
User avatar
davidecosta
 
Posts: 2544
Joined: January 9th, 2011, 12:44 pm
Location: Sardinia

Re: New features Req: Lets Make this a great application

Postby infringer » September 12th, 2011, 3:38 am

hehe you understand it perfectly I typed wrong link ;) forgot the sardu(cd) on the link I will work on that once I get all my objectives straight anyhow I got work for long hours for the next few day so I most likely will not be able to have time to take a crack at it and today was taken up by family so I'd say I wont be finishing it with any set deadline it will be a work in progress for a while being a newbie coder ;) was hoping to get some kind of feedback on my objectives from someone somewhere... But help on the internet is kinda scarce these days people don't use forums as much anymore they are more busy with soap opera type social networking then informational networking.
infringer
 
Posts: 12
Joined: September 4th, 2011, 4:25 pm

Re: New features Req: Lets Make this a great application

Postby infringer » September 12th, 2011, 3:56 am

There should be no unhandled exceptions if you place the program in the folder with extra.cfg works fine to open and edit the text for now and the link does work just fine as well I just spelled the wording wrong.

Anyhow so far so good but still a ways away.

Auto generation will be worth while but people will have to responsibly name there ISO to match the list of good ISO's otherwise it will not be generated.
This to me would be my preferred method...

I guess I would like to ask you weather you would prefer an auto generation method or would you prefer a check box for each possible ISO and a browse button to select the location of the ISO to me a program like that could get rather full rather fast and would look much like mess. I would bet people would prefer the one button click. The only other issue I see is that people might not have a large enough hard drive to house there ISO's in which case a checkbox with a browse for file option would be more fitting ...

Anyone have any suggestions here I would like to program this but would also like to have input from the SARDU community on where to go with it.

Thanks for the replies.
infringer
 
Posts: 12
Joined: September 4th, 2011, 4:25 pm

Re: New features Req: Lets Make this a great application

Postby infringer » September 16th, 2011, 8:50 pm

After almost completing this solution I have come to understand that you have the best solution with extra.cfg as it is user upgradeable... There is no need for you to do any upgrades and in completing such a solution I would have to constantly upgrade my solution to add more and more ISO's as they were requested. I can but choose not to provide such a solution because your solution makes more since.

My request I have found is not as smart as I once figured it was.

I apologize if I disappointed anyone but auto build is just not a great idea after all.

I would like you to upgrade syslinux to support ISO's more then 4GB if and when possible.

Thank you for all of your hard work David!
infringer
 
Posts: 12
Joined: September 4th, 2011, 4:25 pm

Previous

Return to English Forum

Who is online

Users browsing this forum: Bing [Bot]

cron