Many questions regarding multi-deposit.

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Mael
Messages: 6
Registration: December 9, 2015 - 4:38 PM

December 9, 2015 - 4:48 PM

Hello!

I'm currently doing an internship at a company, and I've been given the project of setting up WAPT.
I have the server and the main repository running on Ubuntu.
However, I'm encountering some issues and have some questions.
Is it possible to set up several different repositories on the same server? And if so, how?
Can I display only the contents of one repository on the localhost:8088/list page in the case of multiple repositories?
Is it possible to hide package groups from the localhost:8088/list page?

Sincerely, Maël.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 10, 2015 - 09:29

Good morning
Mael wrote: Hello!

I'm currently doing an internship at a company, and I've been given the project of setting up WAPT.
I have the server and the main repository running on Ubuntu.
However, I'm encountering some problems and have some questions.
Is it possible to set up several different repositories on the same server? And if so, how?
Yes, it's possible; I've already done it for a rather specific case. It all depends on what you want to do.

You can create a new folder in /var/www/wapt2/

You can store the packages in /var/www/wapt2/
And regenerate the package file with:
/usr/bin/python /opt/wapt/wapt-scanpackages.py /var/www/wapt2/

Your second repository on the same server will therefore be: http://wapt/wapt2/

But can you explain what you want to do?
mael wrote: Can we display only the contents of one repository on the localhost:8088/list page in the case of a multi-repository?
Not to my knowledge, to be verified
mael wrote: Is it possible to hide the package groups on the localhost:8088/list page?
Not to my knowledge, to be verified
Mael
Messages: 6
Registration: December 9, 2015 - 4:38 PM

December 10, 2015 - 9:58 AM

Thank you for your response.

My goal is this: when non-administrator users on localhost:8088/list view the list of packages available for installation, they don't see the "common" section available to all users, but only package groups specific to each department. For example, the accounting department would have access to a different package list than the human resources department. And these two departments wouldn't see the common package list.

Currently, I've only found one solution: to create a shortcut (via GPO) to the URL of a separate package group for each department. The user then has access to the relevant package list without seeing "too many" packages. However, the interface currently doesn't indicate whether the packages are installed or not.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 10, 2015 - 5:58 PM

I don't think that's possible.

So, in my opinion (and it's just my opinion), with a little tinkering:
You would need to create a custom intranet with http://soft.mycompany.fr/accounting and http://soft.mycompany.fr/administrative . You could display the desired page depending on the user.

You could retrieve the status of already installed software with: http://127.0.0.1:8088/status

. You could then create a page with the different software you want, and the installed link would point to:
http://127.0.0.1:8088/install?package=smp-google-chrome

. Note that even with this solution, all users who are members of the "waptselfservice" group could install any software with a little searching. There's no user distinction for a given software.

If this option really interests you, you would need to contact the company tranquil.it and fund the development of this feature.
Or, you can develop this missing function using the WAPT source code available here: https://github.com/tranquilit/WAPT
Locked