About 2 1/2 months ago I issued a call for testing. I have not gotten any responses. I have asked the maintainer of the QXmlEdit project to see if he can engage his user community to see if they can test the snap.
There is only one outstanding issue that the PDF documentation does not open when the button for it is clicked. There is an issue for this on the project with more information on a related link in the QXmlEdit issue queue. It appears that this can only be solved if the project adds a way that a an environment variable would be read to tell the QXmlEdit where it can find the documentation file.
One thing though, you shouldnât instruct users to install the snap either in --devmode or --jailmode if youâve already converted the snap to strict confinement.
You may want to consider to make the snap build upon the master branch of the upstream repository instead of the release tarball, this enables development snapshot builds that are suitable for the continuous integration for the upstream.
The appropriate snap version can be set by using the version-script key or the combination of the adopt-info key , the override-pull scriptlet, and the snapcraftctl set-version command, refer Using external metadata for more info.
BTW, it seems that youâve made contact with the upstream, have you asked the upstream if they are willing to take over the snapâs maintenance? If it is the case then thereâs no reason to transfer the snap to the snapcrafters(though both can be done simultaneously).
@Lin-Buo-Ren I am contacting the QXmlEdit maintainers to ask them if they want to take over maintenance.
I will also see if I can make the snap build upon the master branch of the upstream repository instead of the release tarball. I have not yet had time to look at the documentation you linked.
@Lin-Buo-Ren I have run into an issue in that I cannot figure out how to set the version based on the qxmledit partâs git tag. Do you know how to do this?
parts:
my-part:
... # rest of part stripped for brevity
source: https://github.com/.....git
override-pull: |
# clone the git repository
snapcraftctl pull
# checkout the latest tag
git checkout "$(git describe --tags --abbrev=0 --match release/v*)"
# use the current (what we just checked out above) tag as the snap version
snapcraftctl set-version "$(git describe --tags | sed -e 's|release/v||')"
version: latest #required but ignored if their is a version-script line
version-script: ./snap/scripts/getversion.sh
./snap/scripts/getversion.sh looks like this:
#!/bin/bash
## Retrives the version using git ls-remote --tags from the remote project repository.
## Based on https://stackoverflow.com/a/51446831/6079319
git ls-remote --tags https://github.com/lbellonda/qxmledit.git | cut -d/ -f3- | sort -t. -nk1,2 -k3 | awk '/^[^{]*$/{version=$1}END{print version}'
As my great uncle always use to say, âThere is more than one way to skin a cat!â (referring to the monkey bars)
Am I correct to assume that the tags for your project all start with release/v?
@roadmr I believe that we are now ready for the transfer. @Lin-Buo-Ren has given me a lot of help in getting the snap ready and solving the outstanding issues, plus some updating to the lastest snap best practices.
I did contact the current maintainer of QXmlEdit and he declined to take over maintainership of the snap at this time.
So if @Wimpress needs to look at the snap first I think it is now ready.
Thanks to everyone for your time and help with my first snap. It will be a good to see it finally in the stable channel of the snap store.
@roadmr Just got the monthly update saying how many users have installed the QXmlEdit via the snap, and it made me realize that the transfer to Snapcrafter never happend. See my previous comment for more details.
Is there anything more I need to do before the transfer can be made?
Hi! Sorry about this. No action is needed on your part, but I do need someone from @snapcrafters to confirm theyâre willing to accept the transfer (@Wimpress@evan@popey@lucyllewy maybe you can help? when can we have a @snapcrafters group in the forum?)/
@frederickjh Thanks for bootstrapping QXmlEdit and attempting to upstream it
Let me discuss this with the rest of the team. As you are actively maintaining qxmledit, I am not sure there is any real benefit transferring ownership to Snapcrafters.