alchemist icon indicating copy to clipboard operation
alchemist copied to clipboard

[NOMERGE] Add Alchemist Server

Open Arzte opened this issue 7 years ago • 13 comments

This was a lot of work and theres still things to be done, however it should be good for now.

Rocket is the backend for the web server with serde for json, it takes requests at "http:///api/v0/". There are three endpoints ATM: - / for the index, takes a GET - /version["/", "/client", "server"] returns the current versions of the client and server on GitHub respectivly, or both if not specified. - /packages Takes POST request with the package[s], distro name, the name of the client and version of the client.

This is a pretty big change to how Alchemist will work and is a on going progress.

Arzte avatar Mar 18 '17 00:03 Arzte

Fixes: #77 On the block to be fixed are: #75 #26 #79

Until the issues mentioned above are fixed this shouldn't be considered for merging/

Arzte avatar Mar 18 '17 12:03 Arzte

This is also waiting on #81 for Travis support for these changes.

Arzte avatar Mar 18 '17 12:03 Arzte

I was just rebasing the branch to be up to date with master, no actual changes

Arzte avatar Mar 25 '17 22:03 Arzte

I pushed some new changes, I want to get #79 working before merging this into master... however all code not related to that should be good for review.

Arzte avatar Mar 31 '17 20:03 Arzte

Looks like travis borked its self again, I'll push a commit to fix that when I get the chance. Also going to note that #79 is coming along pretty good, hopefully should be done in a few days.

Arzte avatar Apr 02 '17 00:04 Arzte

I don't want to merge this in until I have #79 done as part of this merge, I feel like that is a important part of the server's core functionality.

Arzte avatar Apr 05 '17 15:04 Arzte

Ahh I see. Normally if someone puts in a PR and notes why it shouldn't be merged yet then nothing will happen until it's done. That's why I had removed it but good to know you're waiting till you close #79 with it!

mgattozzi avatar Apr 06 '17 18:04 mgattozzi

Yep, it's being worked on, but if it takes too long and everything else is fixed feel free to merge it. It shouldn't take that long though.

Arzte avatar Apr 06 '17 19:04 Arzte

There's no rush your stuff is independent from the other code so this is fine!

mgattozzi avatar Apr 06 '17 19:04 mgattozzi

@SirDoctors I was wrong with the code I gave you for the filter. You needed to do a filter/map/collect and I forgot that was what was needed. I've updated the code above for you.

mgattozzi avatar Apr 10 '17 18:04 mgattozzi

@SirDoctors just letting you know I saw this and will get to reviewing when I can!

mgattozzi avatar Apr 19 '17 16:04 mgattozzi

Going to update this pr for serde 1.0

Arzte avatar May 09 '17 16:05 Arzte

@SirDoctors sounds good to me!

mgattozzi avatar May 09 '17 20:05 mgattozzi