--version not running version

Bug #1044329 reported by David Gomes
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Audience
Won't Fix
Low
Unassigned
Granite
Confirmed
Low
Unassigned
Maya
Fix Released
Low
Niels Avonds
Terminal
Fix Released
Low
riddle

Bug Description

app_name --version

Should return the version of the program.

Related branches

David Gomes (davidgomes)
Changed in audience:
status: New → Confirmed
Changed in lingo-dictionary:
status: New → Confirmed
Changed in noise:
status: New → Confirmed
Changed in pantheon-terminal:
status: New → Confirmed
Changed in scratch:
status: New → Confirmed
Changed in audience:
importance: Undecided → Low
Changed in lingo-dictionary:
importance: Undecided → Low
Changed in noise:
importance: Undecided → Low
Changed in pantheon-terminal:
importance: Undecided → Low
Changed in scratch:
importance: Undecided → Low
Changed in slingshot:
importance: Undecided → Low
status: New → Confirmed
Changed in maya:
importance: Undecided → Low
status: New → Confirmed
Changed in maya:
assignee: nobody → Niels Avonds (niels-avonds)
milestone: none → luna-beta1
status: Confirmed → Fix Committed
Revision history for this message
Danielle Foré (danrabbit) wrote :

I wonder is this possible to add to Granite.application?

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Whoa, Eidete SIGTRAPs when invoked with --version!

Revision history for this message
Victor Martinez (victored) wrote :

David, how about fixing this straight into Granite.Application instead? We already have the --debug option there.

riddle (riddlepl)
Changed in noise:
assignee: nobody → darklin (krzysztof-lochwinowicz)
Revision history for this message
riddle (riddlepl) wrote :

I've added --version to noise but then saw Victor and Daniel suggestion about implementing it within Granite.
I almost done it but I have an issue with copyright, with year exactly. Various apps has different years of being developed. Any idea how to unify it? Or maybe we can give up with year in copyrights.

Revision history for this message
Cody Garver (codygarver) wrote :
Revision history for this message
riddle (riddlepl) wrote :

It could solve that problem, but another appeared. If commandline params are handled in granite I cannot make app to show those options when calling app --help. I will try to do it somehow, but if I fail, --version will be per app.. at least my impl will be.

Revision history for this message
riddle (riddlepl) wrote :

Ok, I've solved all issues. Common part in granite is done, Noise is aligned, tomorrow I'll do the rest of apps.

Revision history for this message
riddle (riddlepl) wrote :

Bug will be solved in granite

Changed in scratch:
assignee: nobody → darklin (krzysztof-lochwinowicz)
Changed in granite:
assignee: nobody → darklin (krzysztof-lochwinowicz)
riddle (riddlepl)
Changed in pantheon-terminal:
assignee: nobody → darklin (krzysztof-lochwinowicz)
riddle (riddlepl)
Changed in slingshot:
assignee: nobody → darklin (krzysztof-lochwinowicz)
riddle (riddlepl)
Changed in eidete:
assignee: nobody → darklin (krzysztof-lochwinowicz)
status: New → In Progress
Changed in noise:
status: Confirmed → In Progress
Changed in pantheon-terminal:
status: Confirmed → In Progress
Changed in scratch:
status: Confirmed → In Progress
Changed in slingshot:
status: Confirmed → In Progress
Changed in lingo-dictionary:
status: Confirmed → In Progress
assignee: nobody → darklin (krzysztof-lochwinowicz)
Changed in granite:
status: New → In Progress
Revision history for this message
David Gomes (davidgomes) wrote :

This has been fixed on the Terminal, but a Granite fix would be much cleaner.

Changed in pantheon-terminal:
status: In Progress → Fix Committed
Revision history for this message
Victor Martinez (victored) wrote :

darklin, I've removed many granite-using projects since they will benefit from the fix once it is pushed to granite (as long as there's no ABI break, of course).

no longer affects: cerbere
no longer affects: eidete
no longer affects: lingo-dictionary
no longer affects: noise
no longer affects: scratch
no longer affects: slingshot
David Gomes (davidgomes)
Changed in pantheon-terminal:
milestone: none → luna-beta2
Changed in maya:
status: Fix Committed → Fix Released
Changed in pantheon-terminal:
status: Fix Committed → Fix Released
Changed in audience:
assignee: nobody → Fabio Zaramella (ffabio-96-x)
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in audience:
status: In Progress → Confirmed
assignee: Fabio Zaramella (fabiozaramella) → nobody
Changed in granite:
milestone: none → loki-beta1
Changed in audience:
milestone: none → loki-beta1
Cody Garver (codygarver)
Changed in granite:
importance: Undecided → Low
Changed in granite:
status: In Progress → Confirmed
assignee: riddle (riddlepl) → nobody
Changed in granite:
milestone: loki-beta1 → none
Changed in audience:
milestone: loki-beta1 → none
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :
Changed in audience:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.