Jump to content


Photo

Name of tool, name.xrnx for autoupdate?

name tool

  • Please log in to reply
4 replies to this topic

#1 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1544 posts
  • Gender:Male
  • Location:Spain

Posted 09 May 2018 - 14:14

I have a question about the name of the XRNX file to upload it in the tools section of www.renoise.com.

 

How do they detect the update tool that there is a new version of the tool that a user has uploaded to the server?

 

The name of the tool influences? For example, is it possible to put names like this?:

  1. First file:            ulneiz.NameTool_v1.0.xrnx
  2. First update:      ulneiz.NameTool_v1.1.xrnx
  3. Second update: ulneiz.NameTool_v1.2.xrnx
  4. etc...

In other words, using these names will Renoise detect that an update exists?

 

The file manifest.xml is this:

<?xml version="1.0" encoding="UTF-8"?>
<RenoiseScriptingTool doc_version="0">
  <ApiVersion>5</ApiVersion>
  <AutoUpgraded>true</AutoUpgraded>
  <Name>NameTool</Name>
  <Id>ulneiz.NameTool_v1.0</Id>
  <Version>1.00</Version>
  <Author>ulneiz</Author>
  <Category>Pattern Editor, Phrase Editor</Category>
  <Description>The Description...</Description>
</RenoiseScriptingTool>

Is this line in charge of detecting a new update?: <Version>1.00</Version>

Or is it necessary that the "Id" is always the same in all updates? <Id>ulneiz.NameTool_v1.0</Id>

 

How should I proceed exactly?

 

It's the first time I'm going to upload a tool to the www.renoise.com server, and I want future autoupdates to work properly ....

 

Thanks!


Edited by Raul (ulneiz), 09 May 2018 - 16:56.

:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler

#2 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6966 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 09 May 2018 - 15:23

The basic idea is that your manifest and the tool page need to match.
Then, it does not matter so much what the file is called - only the manifest version is of importance

This works, since the tools .zip is extracted when submitting (to scan for potentially malicious code)

You definitely DON'T want this value to be true, btw.

<AutoUpgraded>true</AutoUpgraded>seScriptingTool>

It will prevent auto-updating, as the server will regard auto-upgraded tools as not being a "real" update.


Tracking with Stuff. API wishlist | Soundcloud


#3 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1544 posts
  • Gender:Male
  • Location:Spain

Posted 09 May 2018 - 15:59

The basic idea is that your manifest and the tool page need to match.
Then, it does not matter so much what the file is called - only the manifest version is of importance

This works, since the tools .zip is extracted when submitting (to scan for potentially malicious code)

You definitely DON'T want this value to be true, btw.

<AutoUpgraded>true</AutoUpgraded>seScriptingTool>

It will prevent auto-updating, as the server will regard auto-upgraded tools as not being a "real" update.

:o Ok, thanks!

 

Then I must keep the "Id" of the manifest, and change the "Version" of the manifest in each update. But it is possible to change the name of the name.xrnx file. Finally, AutoUpgraded must be "false".

 

One last question. I have seen in some manifestos that says "Icon" or "Ico" (<Icon>folder_address???</Icon>). What is it for? Does an icon appear somewhere? Should the icon be a .ico within the root folder of the tool?


:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler

#4 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6966 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 09 May 2018 - 16:42

Yep, you got everything right  :) 

 

I have seen in some manifestos that says "Icon" or "Ico" (<Icon>folder_address???</Icon>). What is it for? 

 

I don't know - maybe some leftover implementation detail that never actually got used for anything...huh.png


Tracking with Stuff. API wishlist | Soundcloud


#5 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1544 posts
  • Gender:Male
  • Location:Spain

Posted 09 May 2018 - 16:56

Ok, then I forget about the "icon" theme. I think I have everything ready.

 

Maybe this weekend I'll post something interesting ...
 
Thanks for everything!

  • pat likes this

:excl: Development of my tools: KangarooX120SamRenderPhraseTouch  |  GT16-Colors (old)

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler