Home » Developing U++ » U++ Developers corner » New UppHub root  
	
		
		
			| Re: New UppHub root [message #56147 is a reply to message #56143] | 
			Mon, 01 February 2021 00:51    | 
		 
		
			
				
				
				
					
						  
						Novo
						 Messages: 1430 Registered: December 2006 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		mirek wrote on Sun, 31 January 2021 14:56Novo wrote on Sun, 31 January 2021 13:34mirek wrote on Sat, 30 January 2021 14:50 
The list is directly in readme.md, because why not...   
  
It is not parsable as a JSON file ... 
I cannot use it with my build automation system because of this markdown formatting:  
  
 
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
	HttpRequest r("https://raw.githubusercontent.com/ultimatepp/UppHub/main/README.md");
		
	String s = r.Execute();
	
	int begin = s.FindAfter("UPPHUB_BEGIN");
	int end = s.Find("UPPHUB_END");
	
	if(begin >= 0 && end >= 0)
		s = s.Mid(begin, end - begin);
	Value v = ParseJSON(s);
	if(v.IsError()) {
		s.Replace(""", "\"");
		s.Replace("&", "&");
		v = ParseJSON(s);
	}
	
	ASSERT(!v.IsError());
}
 
  
Thanks! I've fixed that already. BTW, my build automation system is written in Python ...     
For some reason an UppHub repo has completely disappeared from GitHub ...
		
		
  Regards, 
Novo
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
	
	  | 
	 | 
	
		New UppHub root
		By:  mirek on Sat, 30 January 2021 20:50  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Klugier on Sat, 30 January 2021 21:37  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  mirek on Sun, 31 January 2021 20:47  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Klugier on Sun, 31 January 2021 21:46  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  mirek on Mon, 01 February 2021 00:57  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Klugier on Tue, 02 February 2021 00:56  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  mirek on Tue, 02 February 2021 01:17  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  mirek on Tue, 02 February 2021 09:35  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Oblivion on Sat, 30 January 2021 22:44  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Novo on Sun, 31 January 2021 13:34  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Oblivion on Sun, 31 January 2021 13:46  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Novo on Sun, 31 January 2021 14:32  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Klugier on Sun, 31 January 2021 15:35  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  mirek on Sun, 31 January 2021 20:56  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Novo on Mon, 01 February 2021 00:51  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Novo on Mon, 01 February 2021 07:13  
	 | 
 
	  | 
	 | 
	
		Re: New UppHub root
		By:  Novo on Mon, 01 February 2021 07:55  
	 | 
  
Goto Forum:
 
 Current Time: Tue Nov 04 14:44:37 CET 2025 
 Total time taken to generate the page: 0.05470 seconds 
 |