Bug 32333 - Errors and Enhance sugestions to qareppo
Summary: Errors and Enhance sugestions to qareppo
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Martin Whitaker
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 03:26 CEST by katnatek
Modified: 2024-02-25 15:46 CET (History)
1 user (show)

See Also:
Source RPM: qarepo-1.6-6.mga9.src.rpm
CVE:
Status comment:


Attachments
Example of fail downgrading with suggested command (33.17 KB, text/plain)
2023-09-30 01:40 CEST, katnatek
Details

Description katnatek 2023-09-28 03:26:45 CEST
Description of problem:

Errors:

1. not support https:// urls i think should do
2. downgrade command include --update , but command not works with that switch

Suggestions:

1. Don't allow select x86_64 in i586 systems
2. Allow install the downloaded rpms from the tool
3. Allow downgrade the installed rpms from the tool


How reproducible:

The error with https:// urls happen any time you use a mirror with https:// url

The error with the downgrade command happen any time you run the command as suggested by the tool but no when remove the --update switch
Comment 1 katnatek 2023-09-28 19:57:18 CEST
Other Enhace: allow to translate the application
Comment 2 Lewis Smith 2023-09-29 21:12:15 CEST
Martin
If the errors are real, doubtless to fix.
For the enhancements - which look considerable - I suspect they can be reasonably declined. I have no experience of qarepo to be able to comment.

CC'ing TJ who will have something to say about those.

@katnatek
When qarepo was developed, it was with much consultation with the QA people who actually used it. They have been very happy with the result for the past nearly 5 years.

CC: (none) => andrewsfarm
Assignee: bugsquad => mageia

Comment 3 katnatek 2023-09-29 22:48:27 CEST
(In reply to Lewis Smith from comment #2)
> Martin
> If the errors are real, doubtless to fix.
> For the enhancements - which look considerable - I suspect they can be
> reasonably declined. I have no experience of qarepo to be able to comment.
> 
> CC'ing TJ who will have something to say about those.
> 
> @katnatek
> When qarepo was developed, it was with much consultation with the QA people
> who actually used it. They have been very happy with the result for the past
> nearly 5 years.

Sure, but this suggestions improve the experience and make a few more easy, first time i use the application
Comment 4 katnatek 2023-09-30 01:23:10 CEST
Could forget suggestions
2. Allow install the downloaded rpms from the tool
3. Allow downgrade the installed rpms from the tool

Testing updates for other bug i see why is not implemented form the begin
Some time between downloaded rpm exist conflicts due a few ones are not make to be along
Comment 5 katnatek 2023-09-30 01:40:09 CEST
Created attachment 14021 [details]
Example of fail downgrading with suggested command

I upload a log with all process

Install original rpm
Install testing rpm
Try to downgrade with suggested command
Downgrade with the right command
Comment 6 Thomas Andrews 2023-09-30 02:57:14 CEST
I can confirm the error. I tested a Flightgear update a day or so ago, and qarepo still had the information. I ran the suggested command, with the same result. The result was the same, whether the local repo was enabled or not.

As I misunderstand it, the "--update" switch causes urpmi to use only the update media when doing the downgrade. But, because Mageia 9 is relatively new, there is very little in the update repos - yet - so the original flightgear and dependencies are all in the Core repos. So, having been told not to use the Core repos, it couldn't find the packages.

I have not had occasion to use the suggested downgrade command that I recall, or I might have seen the issue before now. Mageia 8 is also affected, and I suspect Cauldron is also affected.

Whiteboard: (none) => MGA8TOO

Comment 7 Thomas Andrews 2023-09-30 03:26:53 CEST
I can also confirm that https is not supported, at least in the Mageia 8 that I just checked, and I would agree with the reporter that it should be if possible.

As for the remaining suggestion, disallowing 64-bit selection on 32-bit systems, if this were a tool for the general user base, I would agree. But it is not; it is a QA tool. I believe that new QA testers should learn early on that installing 64-bit software on a 32-bit system will result in an error, and this isn't a bad way to teach that lesson. 

Yes, I have forgotten to change the arch setting from the default 64-bit on my 32-bit systems - but I only do it once, then I change it, and qarepo remembers the setting. That's all that is necessary.
Comment 8 Martin Whitaker 2023-09-30 10:58:35 CEST
I will fix the bug in the suggested downgrade command and make the enhancement to support https URLs.

The tool does not support installing the downloaded RPMs because we want QA to use the same tools for installing the upgrades as our users do.

As I recall, I tried supporting automatic downgrades, but it was hard to make it reliable.

I could add support for translating the UI, but is it really worth making more work for the i18n team for a tool that's only used by a handful of people?
Comment 9 katnatek 2023-09-30 16:00:45 CEST
(In reply to Martin Whitaker from comment #8)
> I will fix the bug in the suggested downgrade command and make the
> enhancement to support https URLs.
> 
> The tool does not support installing the downloaded RPMs because we want QA
> to use the same tools for installing the upgrades as our users do.
> 
and some times can't blind intall all the listed
> As I recall, I tried supporting automatic downgrades, but it was hard to
> make it reliable.
> 
due the above i guess
> I could add support for translating the UI, but is it really worth making
> more work for the i18n team for a tool that's only used by a handful of
> people?

are not too many strings, can be uploaded to mga transifex sapace
Comment 10 Martin Whitaker 2024-02-25 15:46:05 CET
qarepo-1.7.1-mga10 in cauldron adds the UI translations, supports https URLS, and fixes the suggested downgrade command. As this is largely a new feature release, I'm not proposing to backport it to mga9.

Resolution: (none) => FIXED
Status: NEW => RESOLVED
Whiteboard: MGA8TOO => (none)


Note You need to log in before you can comment on or make changes to this bug.