Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909102 - app-editors/lapce-0.2.8: program wants to auto update to nightly version
Summary: app-editors/lapce-0.2.8: program wants to auto update to nightly version
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pascal Jäger
URL: https://github.com/lapce/lapce/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 21:48 UTC by Quentin Retornaz
Modified: 2023-11-09 03:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quentin Retornaz 2023-06-24 21:48:51 UTC
Lapce is trying to update by itself to nightly version.

Reproducible: Always

Steps to Reproduce:
1. Open Lapce
2. after short time a notification appear on top-right gear
3. Lapce asks you to restart to update to nightly
Actual Results:  
Lapce wants to update automatically to nightly version

Expected Results:  
Lapce should not try to update by itself

As seen in source, auto-update code could be found in ‎lapce-app/src/update.rs
Also, Lapce About window is showing it is on a nightly version instead of stable, trying to download an update every day.
Comment 1 Pascal Jäger 2023-11-06 19:50:52 UTC
Their versioned tarballs actually aren't any different than the nightly versions. They build to a stable release when they are on a git tag that starts with v...

Can be easily solved by setting the env. variable RELEASE_TAG_NAME=v0.3.0 during build. 

Will be fixed in 0.3.0-r1
Comment 2 Larry the Git Cow gentoo-dev 2023-11-09 03:11:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41b59b9c05180d9b2d58ee184b7d141aaaab6caa

commit 41b59b9c05180d9b2d58ee184b7d141aaaab6caa
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2023-11-06 19:46:42 +0000
Commit:     Pascal Jäger <pascal.jaeger@leimstift.de>
CommitDate: 2023-11-06 19:46:42 +0000

    app-editors/lapce: fix build of nightly when on stable version
    
    Closes: https://bugs.gentoo.org/909102
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>

 app-editors/lapce/lapce-0.3.0-r1.ebuild | 65 +++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)