Anybody know where I can find src for Monorail 2.0.0? - castle

We are using that exact version and I believe I've hit a bug that I might need to fix, however the 2.1RC doesn't fix it, and I don't want to break all dependencies to other frameworks (Windsor for instance) for an upgrade.
They have however removed the SVN repository that contained all tags, and the new git repository doesn't contain any tags at all so I have no idea which revision I should check out.
Does anyone know where I can find the source code? I have an old version for 1.0.3 on my drive but that is of little use now...

To answer my own question, they seem to have put it in a readonly git repository and branched it for 2.0.0 here:
https://github.com/castleproject/Castle.MonoRail-READONLY/tree/2-0-stable

Related

Issue with using a modified version of a Go dependency

So here is the situation:
I have a fork of go-ipfs. It depends on go-ipfs-config. I need to modify go-ipfs-config and make go-ipfs depend on my modified version.
I forked the go-ipfs-config made my changes and made sure to update the path to be that of my forked version as can be seen here. I confirmed that this still builds successfully by running go build
Then I updated go.mod in go-ipfs to use my modified version. I used the replace directive to signify this intention which can be seen here
This is where things gets absolutely bunkers and I am no longer sure what is going on.
When i do go mod tidy to fetch the dependency i get the following output:
go: finding module for package github.com/dadepo/go-ipfs-config
go: found github.com/dadepo/go-ipfs-config in github.com/dadepo/go-ipfs-config v0.5.3
The crazy thing is that v0.5.3 does not exist in github.com/dadepo/go-ipfs-config!
Also the following line get added to go.mod :
github.com/dadepo/go-ipfs-config v0.5.3 // indirect
Which can even be seen here
I have run commands like go clean -modcache and go clean -r etc but does not seem to fix things!
Does anybody know what I am doing wrong? And also how to achieve the goal of making my version of a project depend on another modified version of its dependency?
Ok, so this is as a result of me not being aware of couple of things going on in the Go lang toolchain.
Apparently https://proxy.golang.org is a thing! It is a service operated by google that caches modules. So If you made a release, deleted it, chances are that the version is already cached in https://proxy.golang.org. This was exactly what happened in my case. I had made a 0.5.3 release, deleted it, but it is not really gone as the Google cache already got a hold of it.
So in case you are seeing versions that should not exist. This should be the first place you check. This documentation link also sheds some more light on the proxy and how it can be tweaked.
I found this out based on the conversation I had on the issue I opened reporting this behaviour. If you are curious, you can check it out here.

Getting prototypejs into the bower registry

I am trying to move some code into a bower package, and my code depends on prototypejs. Prototypejs is not in the bower registry (or it wasn't-- actually I just added it incorrectly, so this question is a bit like asking how to avoid spilling milk after it is already running off the table). What is the proper way to go about getting it there?
I thought I could just point the registry to the prototypejs repo on github, but that resulted in a checkout of files which did not include a built prototype.js file, and it seems it can't be built with the latest version of ruby/rake. So, one option would be to create a new github repo with the built version (downloaded from the website) and a bower.json file. Development on prototypejs seems to have stalled (according to github), so it is unlikely the author(s) would be doing that anytime soon.
DISCLAIMER
I'm beating my own drum but this should help
My PrototypeJS repo has updates in it as well as can be built using grunt and has the actual finished build files in it. Please take a look and see if it works for you.
https://github.com/jwestbrook/prototype
I would create a repo with as you suggested for now, but still try to submit a PR on the upstream repo.

Where can I find a non-ARC version of CocoaAsyncSocket?

I have an application that I have used AsyncSocket with success, but the application is required to run on 32-bit Mac systems so I'd like a non-ARC version of AsyncSocket. In my searching I am finding indications that AsyncSocket was indeed non-ARC in earlier versions but I cannot find any site that has archives of older versions. GitHub only seems to have an ARC version. Does anyone know where I can find a non-ARC version?
Edit: nevermind, I scrolled back through github commits and can get what I need.
New answer to an old question, but in case anyone's wondering, CocoaAsyncSocket was converted to ARC in 7.1. Grab the latest 7.0.x for non-ARC.
More info on the wiki: link

Line numbers in NSTextView (Lion compliant)

I am trying to show line numbers in an NSTexView. I was using the solution from http://www.noodlesoft.com/blog/2008/10/05/displaying-line-numbers-with-nstextview/ but it is no more working with Lion.
Do you know an alternative solution?
I think you probably need an updated version of the files for 64bit (Lion).
I forked the NoodleKit project on GitHub and made some changes that I found on the web. I made some small tweaks, but the changes here mostly came from others on the Internet and the original repo. The owner of the repo has not updated the NoodleLineNumberview in two years, but I may send a pull request so he will add it to his repo. These classes are working in my Lion projects, so they should work for you.
Update your project with these new files and then try to compile:
NoodleLineNumberMarker.h
NoodleLineNumberMarker.m
NoodleLineNumberView.h
NoodleLineNumberView.m
If you are using the MarkerLineNumberView that came with an old version of the project, then that will not work here. Just replace those objects with NoodleLineNumberView.

Grit's clone method is undefined?

I've recently started working on a project that uses git for storage and ruby as a front-end. The first version of my script used ruby-git, which was ok though pretty simple. When I needed to do more specific work with my commits and logs it was recommended that I move to grit. However, I've a road block early on- grit seems incapable of cloning remote repositories. All examples I've found using the Repository class create a local repository and searching through the source I've found Grit's clone method is undefined. What gives?
This is my first StackOverflow question, so thanks in advance for any help.
Since Git is well structured, Grit uses a method missing (Grit::Git#method_missing) to 'systematically' execute Git commands.
See link below for an example that should help you.
https://gist.github.com/731502

Resources