Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1378
Registered: December 2006
Ultimate Contributor
mirek wrote on Sun, 31 January 2021 14:56
Novo wrote on Sun, 31 January 2021 13:34
mirek wrote on Sat, 30 January 2021 14:50

The list is directly in readme.md, because why not... Smile

It is not parsable as a JSON file ...
I cannot use it with my build automation system because of this markdown formatting:
# UppHub

```


#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("&quot;", "\"");
		s.Replace("&amp;", "&");
		v = ParseJSON(s);
	}
	
	ASSERT(!v.IsError());
}


Thanks! I've fixed that already. BTW, my build automation system is written in Python ... Rolling Eyes
For some reason an UppHub repo has completely disappeared from GitHub ...


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: UppHub and version managment
Next Topic: UppHub unavailable due to GitHub maintenance
Goto Forum:
  


Current Time: Mon Dec 09 08:21:29 CET 2024

Total time taken to generate the page: 0.01799 seconds