anybody else can report a test? ideally a completed build with the patch
published by Thomas? does the Hg repo work well on OSX too (Thomas covers
Windows and I cover Linux)?
Nice work.
I converted to mercurial and tried to compile. Thanks to Thomas it compiled painlessly.
Also the installation of the created package "hugin-2010.1.0-Linux.deb" done without problems.
What I would like to see is some way of automatic versioning. Don't know how to do it with mercurial.
(Under svn I could have used output from svnversion to create a package like "hugin-2010.1.5138-Linux.deb)
> Yuv
Kornel
--
Kornel Benko
Kornel...@berlin.de
Thanks, I use this value now. Should I commit? Not everyone may like the revision number as a patch value in package name.
I have seen this often at enblend, it made me cry ..
> And how we should handle this in the future?
I always try to
hg pull
hg update
before commiting. This above mentioned behaviour was one thing I newer liked.
Am Montag 17 Mai 2010 schrieb Harry van der Wolf:
...
>*abort: push creates new remote heads!
>(did you forget to merge? use push -f to force)...
> So I did aI have seen this often at enblend, it made me cry ..
> 'hg merge'
> and then a
> 'hg commit'
> as hg told me to do so:
> Then I did again the
> hg push ssh://harryva...@hugin.hg.sourceforge.net/hgroot/hugin/hugin
>
> Now I now have the idea that I redid/recommitted Thomas changes.
>
> Can anybody explain whether this is correct behavior or what I did wrong?
> And how we should handle this in the future?I always try to
hg pull
hg update
before commiting. This above mentioned behaviour was one thing I newer liked.
@ Harry
I think, you did the right thing. Have a look on the graphic representation of the repo http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/graph
There you can see that with your merge you merged the 2 "heads" (one with my changes and the one with your changes). I think, we will see this more in the next time.
Thomas
* KImageFuser
- I did not do anything. Since Harry has been on Mercurial for it
for more than two months, I assume it already lives on Hg somewhere
else?
Hi Yuv,
at least in this CMakeLists.txt the value of V_PATCH was hardcoded to "0".
Changing it to the revision gives me what I wanted.
There is one glitch:
If the environment variable is not set to "en", then the matching line for the revision may not be found.
Matching line:
"^parent: *[^0-9]*\([0-9]+\):\([a-z0-9]+\)"
maybe we could change it to
"^.*: *[^0-9]*\([0-9]+\):\([a-z0-9]+\)"
or
"^.*: *[^0-9]*\([0-9]+\):\([a-z0-9]+\) *tip"
to make it language independent.
(This is what I get calling hg summary:
Vorgänger: 4030:1a22b25204ef tip
[OSX] make versioning work in XCode according to Mercurial
Zweig: default
Übernehme: 1 modifiziert, 1 unbekannt
Aktualisiere: (aktuell)
)
> Yuv
I don't understand. If we append the revision, then the package name is automatically changed too.
> Previously the SVN revision number was appended to the Hugin version
> in the About dialog i.e. 2010.1.0.1234 this works quite well (even for
> releases) and we can do something similar with HG.
In the appended patch I tried to set the hugin version to 2010.1.0.4033 .
(This patch works with german environment too)
For debian packaging on ubuntu I got now
hugin-2010.1.0.4033-Linux.deb
and after installing
# dpkg -l | grep hugin
ii hugin 2010.1.0.4033 hugin built using CMake
so it seams ok for ubuntu. Don't know, how it behaves with rpm.
For platforms without package manager (e.g. Windows
and OSX) I'd be tempted to use the changeset ID to name the installer
- however it is not very user friendly to ask them to report an eight
digits hex number. An alternative would be builder & rev-r (e.g.
Hugin-2010.1.0.4033-Harry) with builder being a proxy for the repo
from which it was built. Maybe there is a possibility to tap into the
[ui] username variable inside .hgrc and make a shortened string out of
it. The first two digits of each word excluding the email address, so
in my case it would become Hugin-2010.1.0.YuLe-4033 and in your case
it would become Hugin-2010.1.0.KoBe-4033. It is easier to explain a
package manager warning with "you used a package from another builder"
than with "mercurial internals and our less than perfect build have
given it an out of sequence number".
Yuv
Not a very reliable indicator.
I would rather have something like:
Hugin 2010.1.0.4033:a0de66c7eb13 built by Harry van der Wolf
and even better something like
Hugin <major version>.<minor version>.<patch>-hg<HG repo><HG revision> built
by <builder name>
with <HG revision> = rev nr + SHA1ID (4033:a0de66c7eb13) and with <HG repo>
uniquely identifying the repository used. I first thought of using a shortcut
based on the owner / committer name, but that's a bad idea. One person could
have multiple repos on their hard drive. Will have to research into more
depth what Hg has to offer in this arena. I don't have time until the
weekend.
Yuv
may I suggest to put KImageFuser with it's cousin ImageFuser in the
same project repo? it can also be the Hugin project repo since we can
have unlimited Hg repos. Keeping the two of them together will
enhance the probability that somebody will contribute to both.
To create a new repository, you need to access the SourceForge shell
service, then follow these steps:
* Navigate to your repository
o PROJECTUNIXNAME is the UNIX name of your project
o P represents the first letter of that name, and PR the
first two letters of the name.
`cd /home/scm_hg/P/PR/PROJECTUNIXNAME`
* Create a new directory with the name you want for the
repository: `mkdir REPO`
* Execute `hg init REPO` This will initialize a new repository at
that directory so you can start pushing to it with `hg push
ssh://US...@hugin.hg.sourceforge.net/hgroot/hugin/REPO`
* edit .hg/hgrc in the repo. easier is to start with a copy of the
one for hugin and adapt it: `cp ../hugin/.hg/hgrc .hg/`
Yuv
Hi Ken,
good to see you again!
On May 19, 5:34 pm, Ken Turkowski <realitypix...@gmail.com> wrote:
> Here's how I got the sources:
>
> echo "username = Hackers Are Us" > ~/.hgrc # Only needs to be done once
> (use your name)
> hg clone http://hugin.hg.sourceforge.net:8000/hgroot/hugin/huginhugin
this is read-only as far as SourceForge is concerned, i.e. you can
make local changes and commits with `hg ci` to your local repo, but
you can't `hg push` your changes to the SF repo. To give you write
access to the SF repo I need to know your SF handle. Please post it
here if you wan write access. Then you access the repo with
`hg clone ssh://<SF_HANDLE>@hugin.hg.sourceforge.net/hgroot/hugin/hugin`
Yuv
--
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
You can see the
status of your local repository with `hg view` (you need to enable the
hgk extension with a line `hgext.hgk =` in the [extensions] section of
your ~/.hgrc file.
* do `hg push` to push the changes that are currently still in your
local repo to the global SF repo (or to any other repo that accepts
changes from you).
On May 20, 2010 07:01:23 pm Ken Turkowski wrote:I did a little research and found that in Linux it stores the font settings in
> Is there any way of increasing the font size?
~/.hgk
Let us know if it is the same in OSX. And those on Windows, I hope this
finding is helpful for you too?
Yuv
On May 22, 2010 01:20:22 pm Harry van der Wolf wrote:what happens if you delete the [hgk] section in ~/.hgrc ?
> For the time being hg view is hanging on my system.
>
> I added
> [extensions]
> hgk =
>
> [hgk]
> path=/opt/local/share/mercurial/contrib/hgk
*blush* I did not even think to explore the user-friendly way. CTRL-{+,-}
> It should be possible to use either Ctrl-{+,-) or Cmd-{+,-} to change the
> font. Afterwards it should be stored in ~/.gitk, but I don't get that far.
~/.gitk ? sounds like an older version of the hgk extension.
Yuv
I changed the font sizes in ~/.hgk
Here's what I did, Harry,cat << EOF > ~/.hgrc[ui]username = Ken Turkowski <realit...@gmail.com>ui.verbose = True[extensions]hgext.hgk =[hgk]path=/opt/local/share/mercurial/contrib/hgkEOF
On Friday 28 May 2010 10:53:42 am Tom Sharpless wrote:
> What has happened to the idea of keeping (past and future) releases in
> the SVN repository?
Most voices were against it. I did research on the topic and could probably
implement something if there is a use case with benefit/effort >1.
> Released code needs to
> adhere to a higher standard of buildability and documentation
that's what tarballs are for.
> 2) It validates lots of existing documentation about how to build
> Hugin
yes, the SVN->Hg move has made a lot of documentation outdated.
> the project should be as helpful as possible to people who just want
> to build (and distribute) stable releases
Agree. The use case here would be to update the documentation and help those
people cope with the new repository.
Also: for stable releases there are the tarballs. Nothing has changed with
them AFAIK, other than we forgot the monthly poll to ask ourselves if "trunk"
(or now in new Hg terminology "default") contains enough new features to
warrant branching out a release. The release cycle's documentation [0] is now
technically outdated (need to replace hg commands with svn commands) but the
process is still the same.
> The fact that Hugin releases have so far
> not lived in SVN
actually since 0.8.0 releases have lived in SVN, each with its own branch
according to [0]. After a few fixes and enough polish, the branch florish into
a tarball.
Yuv
[0] http://wiki.panotools.org/Development_of_Open_Source_tools#Release
Yes, the HG infrastructure is good for continuing with the same
stable-branch system to produce releases (as was done in SVN for
2009.0, 2009.4 and 2010.0).
These 'stable' tar.gz files really are the bits we want packaged for
general release (e.g. Linux distributions, cover discs, and the
Windows/OSX installer you get when you click 'Download' on the Hugin
web-site)
Regarding the next release: the current HG default 'tip' has more than
enough features to be branched for release, and seems stable enough,
but I'm really not keen to drive this process again as I wasn't able
to give it the attention it deserved last time.
--
Bruno