Skip to content
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

Trouble updating package #513

Open
LinqLover opened this issue Oct 25, 2019 · 5 comments
Open

Trouble updating package #513

LinqLover opened this issue Oct 25, 2019 · 5 comments

Comments

@LinqLover
Copy link
Collaborator

Hi,

I also asked this issue in hpi-swa/Squot#241, but it turned out it is a general problem to Metacello:

Given a simple repository with Baseline and Squot and try to install it into a fresh image (I am working with Squeak), using:

Metacello new
	baseline: 'TipOfTheDay';
	repository: 'github://LinqLover/Squeak-TipOfTheDay/packages';
	get;
	load.

This works fine; however, I would like to upgrade the package later. So I push new commits to the repo (master) and they can be seen online, but when I execute the code above again, the new code is not installed into my image. Even clearing my working copy or removing the whole package from the image did not help.

Why doesn't that work? Is it a known bug, or is my code wrong? How can I update an installed Squot repo using Metacello? I would greatly welcome your help.

@j4yk
Copy link
Contributor

j4yk commented Oct 25, 2019

Small amendment: As far as Metacello is concerned, there is nothing special about a Squot repository. So in place of "Squot repo" you can also just read "FileTree repository".

@dalehenrich
Copy link
Member

dalehenrich commented Oct 25, 2019 via email

@LinqLover
Copy link
Collaborator Author

Thank you very much, Dale! The change fixed it. This should be indeed the default behavior ...

@dalehenrich
Copy link
Member

dalehenrich commented Oct 25, 2019 via email

@tinchodias
Copy link

Hello, we had a problem upgrading a project in Pharo 9. I'm not sure if I should create a new issue entry to report it but as the title would be close to this open issue, I do it here.

To do not repeat, I reported the problem here:
hpi-swa/smalltalkCI#371 (comment)

But I suspect it comes from Metacello, not smalltalk-ci.

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants