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
Cleaning up Shoes repository #312
Comments
Cleaning up static files such as old READMEs, manual-snapshots, and a couple of rakefiles that don't belong here.
Removed brownshoes.svg (duplicate) and moved radar.ods to bugs directory.
It's called old for a reason. No place for old in Shoes.
bloopsaphone is unsupported by current targets and also unmaintained. Shall we remove? One interesting thing about this extension is that it provides a Sound class and a Bloops class (a .blu sound player). There is a blu tuner source code online. Perhaps something @dredknight might like for his game. @ccoupe would you mind trying to build this with one of your targets and see if it works? If you think it's worthwhile to keep or shall I remove it and all its references? |
The following steps are necessary to fully remove
|
The problem was that it was never cross platform and uses a very old and low level lib. Sound in Linux has improved (more complex) since then but I'm not sure we can depend on one lib for all linux variants. I don't know what Windows provides now and of course there is OSX. At the time, no one would admit to using it or wanting to use it. |
Bloopsaphone is actually implemented using the very cross-platform PortAudio. It shouldn't be a stretch to make it work with updated libraries. The point here would be to make it work on one platform and see if it's worthwhile. Otherwise, I could remove it for now, or just leave it there, and open an issue for a future Sound class implementation. We may explore PortAudio, OpenAL, LAME for MP3 support and so on. At a later time. By the way, what is your take on ext vs implementing inside Shoes? For example, sqlite3, hpricot, ftsearch, chipmunk and bloopsaphone are all implemented in an ext. SVG and Charts are however implemented directly in Shoes core code. |
The target osxgtk is more than two years old and no longer maintained.
The target xmsw32 is more than two years old and no longer maintained. It has been superseded by GTK based GUI instead of native Win32.
The target mingw is more than two years old and no longer maintained. Because other Windows target may include mingw in their name and thus share code with this target, its removal may be incomplete.
Additional note on commit 3086cdc: the removal of mingw target may be only partial because the code extensively uses |
The extension sav suggests it is a backup. No other reference to this file can be found.
The target darwin is more than two years old and no longer maintained. It has been superseded by one or more targets: mavericks, snow, xmavericks, xsnow and yosemite. Some code my be shared amongst them all, resulting only in a partial removal of darwin target.
Additional note on commit 1367cc2: the removal of darwin target may be only partial because the code extensively uses /darwin/ matching pattern, which means other targets (mavericks, snow, xmavericks, xsnow and yosemite) may also share the code. Removing any further code related to darwin will require testing. |
JSON has been superseded by Ruby's own JSON.
Hpricot has been fully replaced and superseded by Nokogiri.
ftsearch has been replaced and superseded by Picky.
Additional note on commit f171c77: require building yajl-ruby from source. The new version of Shoes includes a new version of Ruby, which will not allow to gem install yajl-ruby without compiling. |
Anyone who clones now, it going to get a build that won't work because the gems are not build for 3 or 4 platforms. |
You can revert it back if you feel strongly about this one. No problem. The commits are made in such way to make it easy to revert. |
Furthermore why are these commits showing up in #258 ? That doesn't seem correct. |
Uh? Not here. And your commit comment went on shoes/shoes instead of shoes3/shoes3. Some kind of Github bug? Maybe clear your browser cache? |
The extension org suggests it is a backup, not actually used.
It may be a github bug. but the email of the commit I got was titled @BackOrder pushed 1 commit.
5a7c046 Cleaning up static files for #312
—
You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread. Makes no sense: It's a re: of a shoes/shoes pull request that shoes/shoes will never answer. Wouldn't be in my browser cache since it was an email . |
Actually, it's not easy for me to rollback the commit since I didn't make it and I don't want sync my copy with github at this time. |
Revert ftsearch removal commit f171c77 for now. Commit again later.
Not any easier for anyone. haha No worries. Reverted for you. |
Ah yes! I remember when when their 2.0 release broke my audio system for all apps on the linux box and caused one hell of cleanup problem to get 1.9 back. Wiki's by nature can be out of date but https://app.assembla.com/wiki/show/portaudio/Notes_about_building_PortAudio_with_MinGW is not so inspiring. Perhaps we could do something like vlc and detect if portaudio is installed and ffi into it but I am not inclined to build the .dll or .so and include them in Shoes. Please make a new issue if you want bloopsaphone because cleanup was the reason it is not it Shoes 3. |
This is very good. Things are getting clearer. What do you think about moving |
* ftsearch before picky was available. * This little shoes app copies gem (and listed dependent gems) Into a directiory (so selecting picky will drag in all the gems it needs - except yajl-ruby - because one of them didn't list it. * Like exe-shoes, this app is one that could be moved into cobbler 'create a gempack' -- unwritten tar handling but should be simple for someone to do. * It's not even 'developer friendly' but it'll work well enough Good project for someone.
Unclear what my thoughts were for fixed/ (they could be just be merged into bugs/ ? or deleted?) Tests was intended for a place for automated tests to reside testunit or minitest stuff - a convention I broke by putting the plot tests in there - those are not automated tests, but they aren't user bug reports scripts either. |
Deleted would do provided they outlive their purpose. The idea is grouping files and directories. If you consider those have served their purpose, the remove. |
There is a new beta for Windows that includes all the picky gems for win7 as well as the ftsearach ext. This should allow you to test your help.rb. It would be 'very helpful' if you created a remote branch for the manual replacement code and issue pull requests on that brach. |
You want a win7-custom.yaml that has some additions
|
How do I do that? I am not familiar enough with GitHub on such topics. Not a big user of git either. |
Picky hasn't been included in the beta.
|
Oops. I uploaded the wrong one. It's uploaded now. 24Mb is size. |
Gotta laugh - the irony is strong.It was you who convinced me to move to git. Because all the real projects do. Remember that? I learned from RTFM . A deep dive you have to go through but basically you create a local branch of your copy of the shoes repo - perhaps 'picky' for example. You 'git checkout master' or 'git checkout picky' Not sure how your gui app does it but it should if' it's worth anything. So you chose picky and make some changes to that code branch you think should be saved. Now you need a remote branch (at github) so your local branch (picky .e.g) can be moved up to github. How that is done is a google search and trial and error. Then you can issue a pull request (PR) and I can merge approve/lgnore/deny your request and merge into the github master (may not be same a your master branch). @passenger94 - is this almost correct? You can issue a pull request (PR is the lingo) |
Indeed, it is. You never wondered why I sent you code by email? The weird thing about Git is that it feels the need to be different and the commands are all weird. You'd think after using CVS, SVN and Mercurial for a very long while, I'd know how to use Git just as well. I'm mostly sticking to Github Desktop. This was regardless a good move for Shoes. We have been able to successfully track changes in the code, track issues, and Shoes improved considerably since then. Thanks for the pointers. Stay tuned. |
Forked shoes3 in https://github.com/BackOrder/shoes3 Already committed a working Picky replacement for ftsearch. Now I have another pending commit (not yet in the repo) that removes ftsearch but no way to test it since new Windows target is not ready. Would you like me to commit to the fork and you can test on your system before making a pull request? |
No need for a delete commit. It should be as simple as remove one line in the custom-yaml files and rebuilding them all once I get all platforms with copies of the gems - tonight's task. |
Ah, it should be noted that there are several references to ftsearch all over the place. The list of files affected by the removal are |
We can't know if the references are actually used. Lot's of dead code. Once you submit a PR for your picky using shoes.rb/help.rb and I can figure out how to merge it then it's my task to build all the Shoes and give them some simple manual tests. Then we can figure out what old ftsearch refs are not required. |
A pull request is currently pending for you. Let me know if you need help. |
Let's not forget to move code from rakefile_mingw.rb to wherever it should go and subsequently remove the file from the root directory. |
The sample directory is growing. Shall we restructure? It would need some fix in Shoes Manual to include samples.
|
You may find that the manual (sidebar menu) doesn't allow that level (4) |
* Created expert, good and simple subdirectories. * Moved relevent samples to their own directory. * Allow samples to be visible in the root directory. * Shared files are in the root directory.
It didn't stop me. :) |
Bloopsaphone should be a separate issue. Most of the above discussion above has been accomplished. Closing. |
This task involves cleaning up Shoes repository. The following came up from email conversations with @ccoupe. Please, share your feedback and ideas here.
windows-7-64bits
,osx-sierra-cross
, etc.darwin
,mingw
,osxgtk
,xmsw32
.README.2008
,README.2011
,README.federales
,Bloopsaphone
,ftsearch
,hpricot
,JSON
,manual-snapshots
, old directories and old rakefiles at root directory.radar.ods
andbrownshoes.svg
.Anything else? @passenger94 , @dredknight ?
The text was updated successfully, but these errors were encountered: