Thanks Yuriy for the fast response! Your solution works, but only for the repos which are in the image. MCHTTPRepository>>userAndPasswordFromSettingsDo: already has machinery for using credentials. I posted an alternative solution that uses that machinery here:
http://stackoverflow.com/a/23677314/1200070 @Phil: the code of Sean that you mentioned is maybe this: MCHTTPRepository>>userAndPasswordFromSettingsDo: M. 2014-05-15 11:50 GMT+02:00 Yuriy Tymchuk <[email protected]>: > Hi > > > http://stackoverflow.com/questions/23673986/how-to-publish-to-smalltalkhub-from-pharo-without-always-entering-your-credentia/23674688#23674688 > > Uko > > On 14 May 2014, at 11:56, Mircea Filip Lungu <[email protected]> wrote: > > Hi folks, > > Is there a way of setting the SmalltalkHub username and password in an > environment variable or an external configuration file as opposed to > setting them in every repository in every image? > > It gets old introducing them always :) > > Cheers, > M. > > > -- > Mircea Lungu, PhD. > Researcher > Software Composition Group > University of Bern > > > -- Mircea Lungu, PhD. Researcher Software Composition Group University of Bern
